lib/authpwn_rails/session.rb in authpwn_rails-0.10.7 vs lib/authpwn_rails/session.rb in authpwn_rails-0.10.8

- old
+ new

@@ -28,10 +28,10 @@ session.delete :user_exuid end end def authenticate_using_session - return true if current_user + return if current_user user_param = session[:user_exuid] user = user_param && User.find_by_param(user_param) self.current_user = user if user end private :authenticate_using_session