Displaying 1 result from an estimated 1 matches for "allow_params_authentication".
2013 Sep 26
2
Login Problem
...re_no_authentication rendered or redirected.
Inactive users still login, but while debugging, it doesn''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?(re...