Skip to content

Implementing Reset Passwords#2

Open
harshal017 wants to merge 1 commit into
scaleracademy:masterfrom
harshal017:DAY2_Assignment
Open

Implementing Reset Passwords#2
harshal017 wants to merge 1 commit into
scaleracademy:masterfrom
harshal017:DAY2_Assignment

Conversation

@harshal017

Copy link
Copy Markdown

Hey @Naman-Bhalla, I've tested the changes in my local and they are working as expected. Request you to try once at your end. Thanks

Comment thread pom.xml

<properties>
<java.version>14</java.version>
<java.version>11</java.version>

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's not have this in the PR.

User user = userService.resetPassword(userDto);
return new ResponseDto<>(
HttpStatus.OK,
new UserResponseDto(user.getId(), user.getFullName(), user.getEmail(), user.isActive())

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Assume while logging in, person clicks on reset password. Then a new page opens that asks your email. So the only thing that will be sent in request will be the email ID of the person.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sure. I'll correct that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants