about summary refs log tree commit diff
path: root/config/initializers
diff options
context:
space:
mode:
authorAlexander <devkral@web.de>2018-03-02 19:02:50 +0100
committerEugen Rochko <eugen@zeonfederated.com>2018-03-02 19:02:50 +0100
commit42fe05dea1b1b18ef6e70d8d23e5e95ca3001f79 (patch)
tree788c2f638aac835b934fa19cb453c71763229f32 /config/initializers
parentb4f8e8735801b517e2fcccde48355c5c7ad7f221 (diff)
fix logic for pam_controlled_service (#6599)
Diffstat (limited to 'config/initializers')
-rw-r--r--config/initializers/devise.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/initializers/devise.rb b/config/initializers/devise.rb
index 0dc202976..df45dcd1f 100644
--- a/config/initializers/devise.rb
+++ b/config/initializers/devise.rb
@@ -344,7 +344,7 @@ Devise.setup do |config|
     config.check_at_sign          = true
     config.pam_default_suffix     = ENV.fetch('PAM_DEFAULT_SUFFIX') { nil }
     config.pam_default_service    = ENV.fetch('PAM_DEFAULT_SERVICE') { 'rpam' }
-    config.pam_controlled_service = ENV.fetch('PAM_CONTROLLED_SERVICE') { 'rpam' }
+    config.pam_controlled_service = ENV.fetch('PAM_CONTROLLED_SERVICE') { nil }
   end
 
   if ENV['LDAP_ENABLED'] == 'true'