ruby on rails - Using Devise, can I allow inactive users to still login but only to a landing page? -
as understand it, using devise, inactive users not allowed login, instead see inactive user message on login page. can change behavior user allowed login, see landing page?
you global before_action
in applicationcontroller
, redirecting logged in inactive users landing page.
Comments
Post a Comment