Displaying 1 result from an estimated 1 matches for "require_no_authentication".
2013 Sep 26
2
Login Problem
...m while login for inactive users.
While login I am getting -
Processing by Devise::SessionsController#new as HTML
User Load (0.7ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2
LIMIT 1
Redirected to http://localhost:3000/
Filter chain halted as :require_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_authent...