Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable Devise timeoutable module #1062

Merged
merged 1 commit into from
Apr 1, 2020
Merged

Conversation

leoapost
Copy link
Contributor

Expire user sessions after one hour of inactivity.

Timeoutable uses the FlashHash as global storage which causes issues when displaying flash messages. The workaround is to skip non String values. See Github thread for more info heartcombo/devise#1777

JIRA link (if applicable)

https://tools.hmcts.net/jira/browse/RST-2121

Change description

Expire user sessions after one hour of inactivity.

Does this PR introduce a breaking change? (check one with "x")

[ ] Yes
[X] No

Expire the user session after 1 hour of inactivity.

Timeoutable uses the FlashHash as global storage which causes issues when displaying flash messages. The workaround is to skip non String values. More info on heartcombo/devise#1777
@leoapost leoapost merged commit 9446456 into master Apr 1, 2020
@leoapost leoapost deleted the rst-2121-sessions-timeout branch April 1, 2020 10:13
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.

2 participants