Displaying 1 result from an estimated 1 matches for "skip_timeout".
Did you mean:
sip_timeout
2013 Sep 26
2
Login Problem
...sn''t show anything.
It goes to the else part, still logs in.
session_controller:-
prepend_before_filter :require_no_authentication, :only => [ :new, :create ]
prepend_before_filter :allow_params_authentication!, :only => :create
prepend_before_filter { request.env["devise.skip_timeout"] = true }
skip_before_filter :verify_authenticity_token
def create
user_email = User.find_by_email(resource_params[''email''])
if user_email
if server_emails.include?(resource_params[''email'']) ||
params[:client_login] != nil
if...