Merge pull request #567 from harryge00/fix-typo

fix typo in ldap.go
This commit is contained in:
Daniel Jiang 2016-07-19 17:39:15 +08:00 committed by GitHub
commit 3871a01a96

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