session named "Session" sign out on user password update #268

Open
szymon-przybyl opened this Issue Jul 10, 2011 · 0 comments

1 participant

@szymon-przybyl

When i've created session model with name simply "Session" with "authenticate_with User", when the password of user was changed (via update action), user wasn't signed in no more. to reproduce just create "Session" as I said with User, and try to change user's password when he is signed in

now i've renamed my session model name to "UserSession" and changing password now seems to be ok, no unexpected sign out

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment