-
-
Notifications
You must be signed in to change notification settings - Fork 37
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
Implement change password for refugee and fix it for host and admin as well #176
base: main
Are you sure you want to change the base?
Implement change password for refugee and fix it for host and admin as well #176
Conversation
@anastk-code4 Would the current implementation be acceptable? Would you like me to change the translation to match the mockup? |
a1f95ba
to
2c12585
Compare
something's still off. I can confirm the password is changed but to some wrong value since I can't login after logging out, neither with the new password nor with the old one. 🤔 |
The implementation is an adaptation from existing code found for host.
2c12585
to
d25f556
Compare
newPassword was an empty value and that made me wonder whether the code was using the wrong key and since it was simpler renaming that instead of changing everything else to use newPassword I just did that.
ok, I found some time to debug the previous issue and figured it out. |
@anastk-code4 can you verify if this implementation works for you? |
What does it fix?
Addresses #66 to enable users to change their passwords but since it's reusing existing implementation found for the host/admin, it differs from the mockup described in #66.
Later I discovered that the existing implementation was broken so the PR addresses and fixes the password reset for host and admin as well.
Also, I've only added Romanian translation. I could have used Google Translate for the other languages but I think it's better the translators add a proper translation.
How has it been tested?
Locally.