diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2018-02-04 15:05:53 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-04 15:05:53 +0100 |
commit | 38e0133e1b01c21a710111097102a6eb205b9b9b (patch) | |
tree | 75a920630ddb7e0b745856c8d2f5edd558eb19a7 /Gemfile | |
parent | 9b6223f5e26ed53f285a95921e9c660e831a7f6d (diff) |
Make PAM gem optional, allow configuration over environment (#6415)
Diffstat (limited to 'Gemfile')
-rw-r--r-- | Gemfile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Gemfile b/Gemfile index 5b6ae707d..3b39f3946 100644 --- a/Gemfile +++ b/Gemfile @@ -31,7 +31,7 @@ gem 'cld3', '~> 3.2.0' gem 'devise', '~> 4.4' gem 'devise-two-factor', '~> 3.0' -gem 'devise_pam_authenticatable2', '~> 8.0' +gem 'devise_pam_authenticatable2', '~> 8.0', install_if: -> { ENV['PAM_ENABLED'] == 'true' } gem 'omniauth-cas', '~> 1.1', install_if: -> { ENV['CAS_ENABLED'] == 'true' } gem 'omniauth-saml', '~> 1.8', install_if: -> { ENV['SAML_ENABLED'] == 'true' } gem 'omniauth', '~> 1.2' |