Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Edwards-Jones <jedwardsjones@gitlab.com>2018-04-23 18:03:01 +0300
committerJames Edwards-Jones <jedwardsjones@gitlab.com>2018-04-23 18:24:47 +0300
commit795cd7f95206db318c58939698f63eee5abedb34 (patch)
treef8e244b3ea6b80acb64b724b0aef04af3b5c4fa8 /lib/gitlab/auth
parentd3a8a07423dccf1709b6432e017ae4679143dbce (diff)
Replace define_method with alias_method in Omniauth Controllers
Diffstat (limited to 'lib/gitlab/auth')
-rw-r--r--lib/gitlab/auth/ldap/user.rb2
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