diff options
author | James Edwards-Jones <jedwardsjones@gitlab.com> | 2018-04-23 18:03:01 +0300 |
---|---|---|
committer | James Edwards-Jones <jedwardsjones@gitlab.com> | 2018-04-23 18:24:47 +0300 |
commit | 795cd7f95206db318c58939698f63eee5abedb34 (patch) | |
tree | f8e244b3ea6b80acb64b724b0aef04af3b5c4fa8 /lib/gitlab/auth | |
parent | d3a8a07423dccf1709b6432e017ae4679143dbce (diff) |
Replace define_method with alias_method in Omniauth Controllers
Diffstat (limited to 'lib/gitlab/auth')
-rw-r--r-- | lib/gitlab/auth/ldap/user.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/auth/ldap/user.rb b/lib/gitlab/auth/ldap/user.rb index 604c2d222e9..6487f32f7b6 100644 --- a/lib/gitlab/auth/ldap/user.rb +++ b/lib/gitlab/auth/ldap/user.rb @@ -49,7 +49,7 @@ module Gitlab end def valid_sign_in? - allowed? + allowed? && super end def ldap_config |