Module | RailsWarden |
In: |
lib/rails_warden/rails_settings.rb
lib/rails_warden/controller_mixin.rb lib/rails_warden/manager.rb |
encoding: utf-8
Get the action called when there is an unauthenticated failure This is usually an action on a controller The action is called on the failure application. This would normally be A rails controller
Example
RailsWarden::Manager.new(@app, :failure_app => "login_controller", :defaults => :password, :unauthenticated_action => :bad_login )
The unauthenticated_action is :bad_login The bad_login action will be called on the LoginController :api: public
Get the action called when there is an unauthenticated failure This is usually an action on a controller The action is called on the failure application. This would normally be A rails controller
Example
RailsWarden::Manager.new(@app, :failure_app => "login_controller", :defaults => :password, :unauthenticated_action => :bad_login )
The unauthenticated_action is :bad_login The bad_login action will be called on the LoginController :api: public