You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 12, 2021. It is now read-only.
I have a problem: if I register using twitter or facebook instance, the password field stay blank. Then if the user try to login using email + password
I get the following error:
BCrypt::Errors::InvalidHash in Devise/sessionsController#create
invalid hash
How can I prevent this to happen ?
Thanks a lot.
The text was updated successfully, but these errors were encountered:
This is because the encrypted_password field is empty. Seeding the password with a random string when people create users via Twitter/Facebook/etc. will avoid this problem.
It's true, I just happen to let the user be able to login multiple ways. Idea is that authentication != identification, so why not let the user be able to login through multiple means?
Hi,
I have a problem: if I register using twitter or facebook instance, the password field stay blank. Then if the user try to login using email + password
I get the following error:
BCrypt::Errors::InvalidHash in Devise/sessionsController#create
invalid hash
How can I prevent this to happen ?
Thanks a lot.
The text was updated successfully, but these errors were encountered: