Skip to content

Fix bug in updated "Remember Me" strategy (rebased)#142

Merged
strouptl merged 2 commits intomasterfrom
remember_me_bug
Oct 1, 2025
Merged

Fix bug in updated "Remember Me" strategy (rebased)#142
strouptl merged 2 commits intomasterfrom
remember_me_bug

Conversation

@strouptl
Copy link
Collaborator

@strouptl strouptl commented Oct 1, 2025

PR #138 updated the "Remember Me" functionality to delegate setting the rememberable cookie to the OTP Credentials controller (previously, Rememberable was not working). However, the OTP Credentials controller was not updated to account for situations where the user has trusted their current browser, thereby skipping the OTP Credentials form.

This Pull Request updates the OTP Credentials controller to set the "Remember Me" value within the skip_challenge_if_trusted_browser "before_action" (in addition to the normal update action) for situations where the user is bypassing the OTP Credentials form due to browser persistence.

…n skipping challenge due to browser persistence (resolves test failure);
@strouptl strouptl merged commit 8f0f7a2 into master Oct 1, 2025
24 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments