1
0
Fork 0

Remove custom strategy

This commit is contained in:
Andrew Tomaka 2013-04-13 02:30:42 -04:00
parent 9247af6dea
commit ef55355bbb
3 changed files with 1 additions and 6 deletions

View file

@ -10,7 +10,7 @@ gem 'sqlite3'
gem 'thin' gem 'thin'
gem 'devise' gem 'devise'
gem 'krb5-auth'
gem 'cancan' gem 'cancan'

View file

@ -17,7 +17,6 @@ module MsuCourseAlerter
# Custom directories with classes and modules you want to be autoloadable. # Custom directories with classes and modules you want to be autoloadable.
# config.autoload_paths += %W(#{config.root}/extras) # 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). # 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. # :all can be used as a placeholder for all plugins not explicitly named.

View file

@ -223,10 +223,6 @@ Devise.setup do |config|
# manager.intercept_401 = false # manager.intercept_401 = false
# manager.default_strategies(:scope => :user).unshift :some_external_strategy # manager.default_strategies(:scope => :user).unshift :some_external_strategy
# end # end
config.warden do |manager|
manager.strategies.add(:kerb, CustomAuth::Devise::Strategies::Kerb)
manager.default_strategies :kerb
end
# ==> Mountable engine configurations # ==> Mountable engine configurations
# When using Devise inside an engine, let's call it `MyEngine`, and this engine # When using Devise inside an engine, let's call it `MyEngine`, and this engine