From ef55355bbb0a65996f140e76f8f75f795d4d681f Mon Sep 17 00:00:00 2001 From: Andrew Tomaka Date: Sat, 13 Apr 2013 02:30:42 -0400 Subject: [PATCH] Remove custom strategy --- Gemfile | 2 +- config/application.rb | 1 - config/initializers/devise.rb | 4 ---- 3 files changed, 1 insertion(+), 6 deletions(-) diff --git a/Gemfile b/Gemfile index 720506d..d1962a8 100644 --- a/Gemfile +++ b/Gemfile @@ -10,7 +10,7 @@ gem 'sqlite3' gem 'thin' gem 'devise' -gem 'krb5-auth' + gem 'cancan' diff --git a/config/application.rb b/config/application.rb index b34cdb2..f33fb55 100644 --- a/config/application.rb +++ b/config/application.rb @@ -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. diff --git a/config/initializers/devise.rb b/config/initializers/devise.rb index d4445de..fa4f494 100644 --- a/config/initializers/devise.rb +++ b/config/initializers/devise.rb @@ -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