devand icon indicating copy to clipboard operation
devand copied to clipboard

Login with email address not working

Open lightyear15 opened this issue 5 years ago • 5 comments

Can't login with newly created password after password reset.

After having reset the password following the Forgot password procedure, I can't sign in using the new password.

To login I am using my e-mail not my username.

lightyear15 avatar Oct 10 '20 13:10 lightyear15

Hi @lightyear15, thank you for your contribution. I've just tested to reset my password and it's working. But I cannot login with my email address, only with username. I think it's not an issue with password recovery, but only with login by email address.

alepez avatar Oct 13 '20 10:10 alepez

Can you try to login with your username instead of email address?

I've just checked the login code (https://github.com/alepez/devand/blob/master/devand-db/src/auth.rs#L71) and it doesn't match by email address, only by username, so this explain why you cannot login with your email address.

alepez avatar Oct 13 '20 10:10 alepez

Can you try to login with your username instead of email address?

I've just checked the login code (https://github.com/alepez/devand/blob/master/devand-db/src/auth.rs#L71) and it doesn't match by email address, only by username, so this explain why you cannot login with your email address.

I will try dig into my memory to remember my login :sweat_smile:

lightyear15 avatar Oct 13 '20 11:10 lightyear15

I guess it's lightyea15

Please, do not close this issue. I've renamed it to Login with email address not working (and this is an actual problem).

alepez avatar Oct 13 '20 14:10 alepez

:+1: thanks a lot for your help

lightyear15 avatar Oct 13 '20 14:10 lightyear15