diff options
author | Dustin Willis Webber <dustin.webber@gmail.com> | 2015-04-16 14:36:32 -0400 |
---|---|---|
committer | Dustin Willis Webber <dustin.webber@gmail.com> | 2015-04-16 14:36:32 -0400 |
commit | f78046fc3be8db80f8ac44512237c92825540e5d (patch) | |
tree | f4951d1093d43f456c294a58c0aa2d8f212a6b42 /models/login.go | |
parent | 639e34e362c3e4cea2532de4b811dc8bb916f9f3 (diff) | |
download | gitea-f78046fc3be8db80f8ac44512237c92825540e5d.tar.gz gitea-f78046fc3be8db80f8ac44512237c92825540e5d.zip |
typo fix
Diffstat (limited to 'models/login.go')
-rw-r--r-- | models/login.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/models/login.go b/models/login.go index 916e27310c..73d112568b 100644 --- a/models/login.go +++ b/models/login.go @@ -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 |