This commit is contained in:
Dustin Willis Webber committed 2015-04-16 14:36:32 -04:00
1 parent 639e34e362
commit f78046fc3b
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -169,7 +169,7 @@ func UserSignIn(uname, passwd string) (*User, error) {
// For plain login, user must exist to reach this line.
// Now verify password.
if u.LoginType == PLAIN {
if !u.ValidtePassword(passwd) {
if !u.ValidatePassword(passwd) {
return nil, ErrUserNotExist
}
return u, nil