Commit e57e1e04e3d4b930e60a87643f09c908b3bfb90b
1 parent
3e864036
Exists in
spb-stable
and in
3 other branches
Remove non-exist method from ldap security check
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Showing
1 changed file
with
0 additions
and
1 deletions
Show diff stats
app/controllers/application_controller.rb
@@ -183,7 +183,6 @@ class ApplicationController < ActionController::Base | @@ -183,7 +183,6 @@ class ApplicationController < ActionController::Base | ||
183 | def ldap_security_check | 183 | def ldap_security_check |
184 | if current_user && current_user.ldap_user? && current_user.requires_ldap_check? | 184 | if current_user && current_user.ldap_user? && current_user.requires_ldap_check? |
185 | if gitlab_ldap_access.allowed?(current_user) | 185 | if gitlab_ldap_access.allowed?(current_user) |
186 | - gitlab_ldap_access.update_permissions(current_user) | ||
187 | current_user.last_credential_check_at = Time.now | 186 | current_user.last_credential_check_at = Time.now |
188 | current_user.save | 187 | current_user.save |
189 | else | 188 | else |