(refs #139) Add info log for debugging LDAP Auth

This commit is contained in:
Tomofumi Tanaka
2013-10-10 00:57:46 +09:00
parent 195364223f
commit e667b6c139
2 changed files with 8 additions and 2 deletions

View File

@@ -28,7 +28,7 @@ object LDAPUtil {
withConnection(conn) { conn =>
findUser(conn, userName, ldapSettings.baseDN, ldapSettings.userNameAttribute) match {
case Some(userDN) => userAuthentication(ldapSettings, userDN, password)
case None => Left("User does not exist")
case None => Left("User does not exist.")
}
}
}