Remove custom strategy
This commit is contained in:
parent
9247af6dea
commit
ef55355bbb
3 changed files with 1 additions and 6 deletions
2
Gemfile
2
Gemfile
|
@ -10,7 +10,7 @@ gem 'sqlite3'
|
|||
gem 'thin'
|
||||
|
||||
gem 'devise'
|
||||
gem 'krb5-auth'
|
||||
|
||||
gem 'cancan'
|
||||
|
||||
|
||||
|
|
|
@ -17,7 +17,6 @@ module MsuCourseAlerter
|
|||
|
||||
# Custom directories with classes and modules you want to be autoloadable.
|
||||
# config.autoload_paths += %W(#{config.root}/extras)
|
||||
config.autoload_paths += %W(#{config.root}/lib)
|
||||
|
||||
# Only load the plugins named here, in the order given (default is alphabetical).
|
||||
# :all can be used as a placeholder for all plugins not explicitly named.
|
||||
|
|
|
@ -223,10 +223,6 @@ Devise.setup do |config|
|
|||
# manager.intercept_401 = false
|
||||
# manager.default_strategies(:scope => :user).unshift :some_external_strategy
|
||||
# end
|
||||
config.warden do |manager|
|
||||
manager.strategies.add(:kerb, CustomAuth::Devise::Strategies::Kerb)
|
||||
manager.default_strategies :kerb
|
||||
end
|
||||
|
||||
# ==> Mountable engine configurations
|
||||
# When using Devise inside an engine, let's call it `MyEngine`, and this engine
|
||||
|
|
Loading…
Reference in a new issue