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

Implement change password for refugee and fix it for host and admin as well #176

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

mihaipopescu
Copy link
Contributor

@mihaipopescu mihaipopescu commented Mar 6, 2022

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.

@mihaipopescu
Copy link
Contributor Author

Screen Shot 2022-03-07 at 21 49 05

@anastk-code4 Would the current implementation be acceptable? Would you like me to change the translation to match the mockup?

@andreiio andreiio changed the base branch from development to main March 12, 2022 10:44
@mihaipopescu mihaipopescu force-pushed the 66-user-change-password branch 2 times, most recently from a1f95ba to 2c12585 Compare March 12, 2022 20:23
@mihaipopescu
Copy link
Contributor Author

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. 🤔

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.
@mihaipopescu
Copy link
Contributor Author

ok, I found some time to debug the previous issue and figured it out.

@mihaipopescu mihaipopescu marked this pull request as ready for review March 27, 2022 13:54
@mihaipopescu mihaipopescu changed the title Implement change password for refugee Implement change password for refugee and fix it for host and admin as well Mar 27, 2022
@mihaipopescu
Copy link
Contributor Author

@anastk-code4 can you verify if this implementation works for you?

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.

1 participant