Commit e57e1e04 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Remove non-exist method from ldap security check

Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent 3e864036
...@@ -183,7 +183,6 @@ class ApplicationController < ActionController::Base ...@@ -183,7 +183,6 @@ class ApplicationController < ActionController::Base
def ldap_security_check def ldap_security_check
if current_user && current_user.ldap_user? && current_user.requires_ldap_check? if current_user && current_user.ldap_user? && current_user.requires_ldap_check?
if gitlab_ldap_access.allowed?(current_user) if gitlab_ldap_access.allowed?(current_user)
gitlab_ldap_access.update_permissions(current_user)
current_user.last_credential_check_at = Time.now current_user.last_credential_check_at = Time.now
current_user.save current_user.save
else else
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment