From c03a60c236aec413d7c7a2fbb718e17516def230 Mon Sep 17 00:00:00 2001 From: Andreas Stephanides Date: Sat, 26 May 2018 08:43:49 +0200 Subject: [PATCH] developer login added --- config/initializers/devise.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/config/initializers/devise.rb b/config/initializers/devise.rb index af9af25..e2c8198 100755 --- a/config/initializers/devise.rb +++ b/config/initializers/devise.rb @@ -236,6 +236,8 @@ Devise.setup do |config| :bind_dn =>secrets["ldap"]['bind'], :password => secrets["ldap"]['password'] + config.omniauth :developer if Rails.env.development? + # ==> Warden configuration<< # If you want to use other strategies, that are not supported by Devise, or # change the failure app, you can configure them inside the config.warden block.