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

Success Screen after Change Password not seen #523

Open
swapnilspathare-eaton opened this issue Sep 6, 2024 · 1 comment
Open

Success Screen after Change Password not seen #523

swapnilspathare-eaton opened this issue Sep 6, 2024 · 1 comment
Assignees
Labels
brightlayer-ui Used to identify Brightlayer UI platform issues for easy filtering bug Something not working as expected

Comments

@swapnilspathare-eaton
Copy link

Describe the bug / expected behavior

once user change password from app, ideally user should be shown with "password changed successfully" screen and then after clicking okay user should be navigated to login screen.(this was working earlier)
but currently once user change password, he is directly navigated to login screen.

so we have implement changepassword screen as below,
onItemClick={securityHelper.showChangePassword}.

so as i understand, changePasswordScreen is called directly and now cancel & update button's functionality is on changePasswordScreen because we dont have access to this screen.

What are the steps to reproduce?

  1. Go To - Change Password Screen
  2. Add Password fields and click Update button

Screenshots / Screen recording

Simulator.Screen.Recording.-.iPhone.14.Pro.-.2024-09-06.at.15.18.56.mp4

Code snippet / Link to minimum reproduction example

changePassword Screen called code

onItemClick={securityHelper.showChangePassword}

AuthUIActions.ts - changePassword function

await requestPasswordChange(userId, oldPassword, newPassword);
await TokenService.destroySecurityTokenForUser();
store.dispatch(clearUserInfo());
@swapnilspathare-eaton swapnilspathare-eaton added brightlayer-ui Used to identify Brightlayer UI platform issues for easy filtering bug Something not working as expected needs-review Issues that we would like to revisit/review labels Sep 6, 2024
@JeffGreiner-eaton JeffGreiner-eaton added the user-reported This was reported by a user outside the maintainers team. label Sep 10, 2024
@ektaghag-eaton
Copy link
Contributor

@swapnilspathare-eaton , can you share repo link here?

@ektaghag-eaton ektaghag-eaton removed the user-reported This was reported by a user outside the maintainers team. label Sep 11, 2024
@ektaghag-eaton ektaghag-eaton self-assigned this Sep 11, 2024
@ektaghag-eaton ektaghag-eaton removed the needs-review Issues that we would like to revisit/review label Sep 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
brightlayer-ui Used to identify Brightlayer UI platform issues for easy filtering bug Something not working as expected
Development

No branches or pull requests

3 participants