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

remove :timedout from the session hash (https://github.com/plataformatec... #5

Merged
merged 1 commit into from Jan 17, 2014
Merged

Conversation

saplaum
Copy link

@saplaum saplaum commented Jan 15, 2014

I use devise in a project and just activated the timeout functionality.
Since devise renders a :timedout => true into the flash Hash for some reason, this true value is rendered into the frontend. My hack just removes this key from the :timedout Hash.

There ist certainly a better solution for this, but it works well for my project and it might for others too :-)

the devise issue: heartcombo/devise#1777

estum added a commit that referenced this pull request Jan 17, 2014
remove :timedout from the session hash (https://github.com/plataformatec...
@estum estum merged commit 57443ec into estum:master Jan 17, 2014
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.

None yet

2 participants