summaryrefslogtreecommitdiff
path: root/users/config/initializers/warden.rb
blob: 45feb6cc28b37e6dca2715b59afc7c5738a4908e (plain)
1
2
3
4
5
6
7
Rails.configuration.middleware.use RailsWarden::Manager do |config|
  config.default_strategies :secure_remote_password
  config.failure_app = SessionsController
end

RailsWarden.unauthenticated_action = :new