Displaying 1 result from an estimated 1 matches for "server_email".
Did you mean:
serveremail
2013 Sep 26
2
Login Problem
...low_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 user_email.valid_password?(resource_params[''password''])
if (user_email.status == "Verified" || user_email.status == nil)
/// This part i...