diff options
author | Unknown <joe2010xtmf@163.com> | 2014-03-18 01:33:53 -0400 |
---|---|---|
committer | Unknown <joe2010xtmf@163.com> | 2014-03-18 01:33:53 -0400 |
commit | a3a93aef11f9ff6eca38e9147b022a0649b73bdf (patch) | |
tree | b669aadf733d04b5f2661ee1c7014760f0a6ac6c /models/user.go | |
parent | d886f4df9734ccf69647dfb5564effaca85fed50 (diff) | |
download | gitea-a3a93aef11f9ff6eca38e9147b022a0649b73bdf.tar.gz gitea-a3a93aef11f9ff6eca38e9147b022a0649b73bdf.zip |
Add some config options
Diffstat (limited to 'models/user.go')
-rw-r--r-- | models/user.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/models/user.go b/models/user.go index 87c644b2b6..80af9bd4ba 100644 --- a/models/user.go +++ b/models/user.go @@ -252,7 +252,7 @@ func LoginUserPlain(name, passwd string) (*User, error) { } else if !has { err = ErrUserNotExist } - return &user, nil + return &user, err } // FollowUser marks someone be another's follower. |