Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion config/initializers/clearance.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
config.rotate_csrf_on_sign_in = true
config.cookie_expiration = ->(_cookies) { 2.weeks.from_now.utc }
config.routes = false
config.signed_cookie = :migrate
config.signed_cookie = true
Copy link

Copilot AI Apr 4, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR title mentions requiring a "secure cookie", but this change actually enforces a signed remember_token cookie by removing the :migrate shim. Consider updating the title (or adding a clarifying note in the description) so it matches the behavior being changed.

Copilot uses AI. Check for mistakes.
end

class Clearance::Session
Expand Down
Loading