Skip to content

Commit

Permalink
fix: don't inspect sessions when invalidating others
Browse files Browse the repository at this point in the history
  • Loading branch information
adamcooke committed May 2, 2023
1 parent 9941ca5 commit 5a81581
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/authie/session_model.rb
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ def get(key)
end

def invalidate_others!
self.class.where('id != ?', id).for_user(user).each(&:invalidate!).inspect
self.class.where('id != ?', id).for_user(user).each(&:invalidate!)
end

# Have we seen the user's password recently in this sesion?
Expand Down

0 comments on commit 5a81581

Please sign in to comment.