Develop: users do not subscribe

I use Devise to configure user authentication, but it's hard for me to get users to log in.

Forms are displayed correctly for login and registration. The problem is that when I click the "Send" button, I get an error (There is no route matching "/ session / user"). If I go to the registration form, fill in the fields and submit, then I get the same error. However, when I return to the root URL (# home page), the user is logged in. If I log out and try to log in with the same user credentials, I get a route error without a route, and the user is not signed at all.

I would like to fix this to sign / sign redirects to # home pages, and the user gets login from the login form. Any ideas?

Please let me know if you need more information, and thanks a lot for your help!

+5
source share
1 answer

, , . "BCrypt:: Errors:: InvalidHash in Devise/sessionsController # create" , db encrypted_password. attr_accessor: password , , . Hooray!!

0

All Articles