about summary refs log tree commit diff
path: root/Gemfile
diff options
context:
space:
mode:
authorAlexander <devkral@web.de>2018-03-19 20:08:56 +0100
committerEugen Rochko <eugen@zeonfederated.com>2018-03-19 20:08:56 +0100
commit0306e3e9bebe0b0d9ad7e5fe328dd3677717b7e5 (patch)
treec766026ff276936a39c1149f7c2c8ac3c12ea1d8 /Gemfile
parent357f9298bdb595f67b1f89292be9fa4268e1bffd (diff)
bugfixes and gem update (#6831)
* update to new version of devise_pam_authenticatable2

* fix behaviour if suffix is nil, fix environment loading, fix user email creation

* code cleanup/fix linter warning
Diffstat (limited to 'Gemfile')
-rw-r--r--Gemfile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Gemfile b/Gemfile
index 3fce2ddc7..fe5bf572c 100644
--- a/Gemfile
+++ b/Gemfile
@@ -32,7 +32,9 @@ gem 'cld3', '~> 3.2.0'
 gem 'devise', '~> 4.4'
 gem 'devise-two-factor', '~> 3.0'
 
-gem 'devise_pam_authenticatable2', '~> 8.0', install_if: -> { ENV['PAM_ENABLED'] == 'true' }
+group :pam_authentication, optional: true do
+  gem 'devise_pam_authenticatable2', '~> 9.0'
+end
 gem 'net-ldap', '~> 0.10'
 gem 'omniauth-cas', '~> 1.1'
 gem 'omniauth-saml', '~> 1.10'