Skip to content

Commit

Permalink
Fix cookie deletion
Browse files Browse the repository at this point in the history
  • Loading branch information
Earlopain committed Dec 24, 2021
1 parent 927a4f6 commit 8a733d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/logical/session_loader.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def load
CurrentUser.user = user
else
session.delete(:user_id)
cookies.encrypted.delete(:remember_me)
cookies.delete(:remember_me)
end
end

Expand Down

0 comments on commit 8a733d6

Please sign in to comment.