mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-13 14:46:05 +10:00
Add TODO for further refactoring
This commit is contained in:
@@ -10,6 +10,7 @@ module Gitlab
|
||||
module LDAP
|
||||
class User < Gitlab::OAuth::User
|
||||
class << self
|
||||
# TODO: Look through LDAP servers until valid credentials are found?
|
||||
def authenticate(login, password)
|
||||
# Check user against LDAP backend if user is not authenticated
|
||||
# Only check with valid login and password to prevent anonymous bind results
|
||||
|
||||
Reference in New Issue
Block a user