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
Lowercase the usernames when users want to reset their password #573
Comments
@abompard I would like to work on this. Can you guide me on how to reproduce this on my local? |
Sure! Our contributor guide is here: https://noggin-aaa.readthedocs.io/en/latest/contributing.html |
Hi @abompard I'm unable to set this up on my local using the link you provided, and I have no idea how to ping you (or anyone) in IRC. |
Ah, we haven't tested development on Ubuntu, since Noggin is the web frontend for the authentication system in Fedora (and soon OpenSuSE I think). |
@akanshak984, please try installing VirtualBox on your local environment. Here are some links that you may find helpful.
(That is if you decide VirtualBox to be your default provider. You can pick something else as well.) |
@t0xic0der I have installed VirtualBox, Now when I try to run Vargant Box I get this |
Hi @abompard , I have tried to set-up the development enviornment on Fedora too.. But I'm still unable to do that. Kindly advise. |
If a user uses a mixed-case username to request a password change token, the lock file will be created with this mixed-case username. The IPA API call will succeed because IPA automatically lowercases usernames. But when the lock needs to be removed in the next part of the process, it will try to remove the lowercase version, not find it, and traceback.
We should lowercase the user input before creating the
PasswordResetLock
instance.The text was updated successfully, but these errors were encountered: