summaryrefslogtreecommitdiffstats
path: root/models/login.go
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2015-09-11 13:33:36 -0400
committerUnknwon <u@gogs.io>2015-09-11 13:33:36 -0400
commit247017d9ff9b9947349555cdfd566cad061564ea (patch)
tree27dcd849cf5eb70f39672dbe9458d8e082ef4378 /models/login.go
parent362d64df0483700ac435c4b05709265378887a4e (diff)
downloadgitea-247017d9ff9b9947349555cdfd566cad061564ea.tar.gz
gitea-247017d9ff9b9947349555cdfd566cad061564ea.zip
clean log
Diffstat (limited to 'models/login.go')
-rw-r--r--models/login.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/models/login.go b/models/login.go
index bcff4f9acd..c0fc20f383 100644
--- a/models/login.go
+++ b/models/login.go
@@ -405,7 +405,6 @@ func LoginUserSMTPSource(u *User, name, passwd string, sourceId int64, cfg *SMTP
if err := SMTPAuth(auth, cfg); err != nil {
if strings.Contains(err.Error(), "Username and Password not accepted") {
- fmt.Println(err)
return nil, ErrUserNotExist{0, name}
}
return nil, err