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
This works for forgot password, sign up, sign in, etc.
Replace :email with the authentication key that you use.
If you need to find a user (for example in a custom sessions_controller), note that User.find_by_email(params[:email]) is case sensitive. Use User.find_for_authentication(:email => params[:email]) instead.