Browse Source

clean log

for-closed-social
Unknwon 9 years ago
parent
commit
247017d9ff
1 changed files with 0 additions and 1 deletions
  1. +0
    -1
      models/login.go

+ 0
- 1
models/login.go View File

@ -405,7 +405,6 @@ func LoginUserSMTPSource(u *User, name, passwd string, sourceId int64, cfg *SMTP
if err := SMTPAuth(auth, cfg); err != nil { if err := SMTPAuth(auth, cfg); err != nil {
if strings.Contains(err.Error(), "Username and Password not accepted") { if strings.Contains(err.Error(), "Username and Password not accepted") {
fmt.Println(err)
return nil, ErrUserNotExist{0, name} return nil, ErrUserNotExist{0, name}
} }
return nil, err return nil, err

Loading…
Cancel
Save