Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
gitlab-ce
Commits
e57e1e04
Commit
e57e1e04
authored
Mar 11, 2014
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove non-exist method from ldap security check
Signed-off-by:
Dmitriy Zaporozhets
<
dmitriy.zaporozhets@gmail.com
>
parent
3e864036
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
1 deletion
+0
-1
app/controllers/application_controller.rb
app/controllers/application_controller.rb
+0
-1
No files found.
app/controllers/application_controller.rb
View file @
e57e1e04
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment