lib/authpwn_rails/session.rb in authpwn_rails-0.12.1 vs lib/authpwn_rails/session.rb in authpwn_rails-0.13.0

- old
+ new

@@ -30,10 +30,10 @@ # Sets up the session so that it will authenticate the given user. def set_session_current_user(user) # Try to reuse existing sessions. if session[:authpwn_suid] - token = Tokens::SessionUid.with_code session[:authpwn_suid] + token = Tokens::SessionUid.with_code(session[:authpwn_suid]).first if token if token.user == user token.touch return user else