def redirect_url
if warden_message == :timeout
flash[:timedout] = true # This string
attempted_path || scope_path
else
scope_path
end
end
Is this flash[:timeout] correct? because on session expiration I have an extra flash message with "true" text and have to use hack in my haml template.
- flash.delete :timedout # Dirty Devise workaround on session expire.
If this is a bug I can provide pull request in a minute.