mirror of
https://github.com/goharbor/harbor.git
synced 2024-12-23 00:57:44 +01:00
fix typo in ldap.go
This commit is contained in:
parent
cf23b067a6
commit
57aa9685bf
@ -35,8 +35,8 @@ type Auth struct{}
|
|||||||
|
|
||||||
const metaChars = "&|!=~*<>()"
|
const metaChars = "&|!=~*<>()"
|
||||||
|
|
||||||
// Authenticate checks user's credential agains LDAP based on basedn template and LDAP URL,
|
// Authenticate checks user's credential against LDAP based on basedn template and LDAP URL,
|
||||||
// if the check is successful a dummy record will be insert into DB, such that this user can
|
// if the check is successful a dummy record will be inserted into DB, such that this user can
|
||||||
// be associated to other entities in the system.
|
// be associated to other entities in the system.
|
||||||
func (l *Auth) Authenticate(m models.AuthModel) (*models.User, error) {
|
func (l *Auth) Authenticate(m models.AuthModel) (*models.User, error) {
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user