Part of github code: http://bit.ly/ZMSJXQ
1) When I log in, I get error messages if:
- email does not exist in db
- password is empty.
- Incorrect password
devise_error_messages! empty because resource.errors empty. It seems that the resource is not being checked. Why?
2) If I ran resource.valid? , then resource.errors returns :email=>["has already been taken"], :password=>["can't be blank"]
I get error messages, but they are incorrect. "Email already done" does not make sense when logging in. Why?
(Register, reset password, etc. work fine.)
source share