diff options
Diffstat (limited to 'app/controllers/application_controller.rb')
-rw-r--r-- | app/controllers/application_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index 8cb8fd6dd4c..3c03c387dba 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -307,7 +307,7 @@ class ApplicationController < ActionController::Base if current_user && current_user.requires_ldap_check? return unless current_user.try_obtain_ldap_lease - unless Gitlab::Auth::LDAP::Access.allowed?(current_user) + unless Gitlab::Auth::Ldap::Access.allowed?(current_user) sign_out current_user flash[:alert] = _("Access denied for your LDAP account.") redirect_to new_user_session_path |