Method: Devise::Controllers::Helpers#allow_params_authentication!
- Defined in:
- lib/devise/controllers/helpers.rb
#allow_params_authentication! ⇒ Object
Tell warden that params authentication is allowed for that specific page.
165 166 167 |
# File 'lib/devise/controllers/helpers.rb', line 165 def allow_params_authentication! request.env["devise.allow_params_authentication"] = true end |