Remove 'True' flash message when session expires.
This is because devise uses flash to store logic, instead of only information that has to be given to the user. The 'timedout' key has been removed from the flash hash. This should be reverted when devise changes this.
This commit is contained in:
parent
92067ab89d
commit
d2df3d2517
1 changed files with 1 additions and 1 deletions
|
@ -1,3 +1,3 @@
|
|||
- flash.each do |key, value|
|
||||
- flash.delete(:timedout).each do |key, value|
|
||||
.pure-alert{ class: "pure-alert-#{key}" }
|
||||
= value
|
||||
|
|
Loading…
Reference in a new issue