From 57aa9685bf38c6da067eac750a90b2875bbdebc2 Mon Sep 17 00:00:00 2001 From: haoyuan Date: Tue, 19 Jul 2016 16:46:21 +0800 Subject: [PATCH] fix typo in ldap.go --- auth/ldap/ldap.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/auth/ldap/ldap.go b/auth/ldap/ldap.go index 6929147d1..3c12ee15b 100644 --- a/auth/ldap/ldap.go +++ b/auth/ldap/ldap.go @@ -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) {