config/initializers/warden.rb in cadenero-0.0.2.b6 vs config/initializers/warden.rb in cadenero-0.0.2.b7
- old
+ new
@@ -1,4 +1,4 @@
Rails.application.config.middleware.use Warden::Manager do |manager|
manager.failure_app = Cadenero::V1::Account::DashboardController.action(:index)
- manager.default_strategies :password
+ manager.default_strategies :password, :token_authentication
end
\ No newline at end of file