Skip to content

Commit

Permalink
Completely reset session on logout
Browse files Browse the repository at this point in the history
  • Loading branch information
Floppy committed Jun 18, 2024
1 parent 26a1fff commit 9910009
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/controllers/users/sessions_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ def create
def destroy
authorize :"users/sessions"
super
reset_session # Completely reset the session
end

protected
Expand Down

0 comments on commit 9910009

Please sign in to comment.