Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add functionality of sending email code #85

Merged
merged 2 commits into from
Nov 8, 2024
Merged

Conversation

Kaiser-Yang
Copy link
Contributor

The main work of this commit:

  • Add an API for getting email verification code
  • Add an API for updating user's password with old password
  • Add an API for updating user's password with email verification code

Because of these, some old APIs have been changed:

  • The signUp API now requires email verification code
  • The updateUser API now can not update email and password
  • The signOut API now requires id rather than tokens

Besides, we refactor the DTOs of User Controller, now the different APIs have different DTOs rather than the same one.

The main work of this commit:
* Add an API for getting email verification code
* Add an API for updating user's password with old password
* Add an API for updating user's password with email verification code

Because of these, some old APIs have been changed:
* The signUp API now requires email verification code
* The updateUser API now can not update email and password
* The signOut API now requires id rather than tokens

Besides, we refactor the DTOs of User Controller, now the different APIs
have different DTOs rather than the same one.
@Kaiser-Yang Kaiser-Yang added the feature A new feature label Nov 8, 2024
@luckygalaxy666 luckygalaxy666 merged commit a38f188 into develop Nov 8, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature A new feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants