fix typo in ldap.go

This commit is contained in:
haoyuan 2016-07-19 16:46:21 +08:00
parent cf23b067a6
commit 57aa9685bf
1 changed files with 2 additions and 2 deletions

View File

@ -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) {