mirror of
https://github.com/goharbor/harbor.git
synced 2024-12-24 01:27:49 +01:00
commit
3871a01a96
@ -35,8 +35,8 @@ type Auth struct{}
|
||||
|
||||
const metaChars = "&|!=~*<>()"
|
||||
|
||||
// Authenticate checks user's credential agains 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
|
||||
// Authenticate checks user's credential against LDAP based on basedn template and LDAP URL,
|
||||
// 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.
|
||||
func (l *Auth) Authenticate(m models.AuthModel) (*models.User, error) {
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user