Skip to content

Commit 4d9f4ed

Browse files
committed
reword the comment
1 parent 55afd39 commit 4d9f4ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

services/auth/source/smtp/source_authenticate.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ func (source *Source) Authenticate(ctx context.Context, user *user_model.User, u
4343
if err := Authenticate(auth, source); err != nil {
4444
// when authentication via smtp fails, wraps ErrInvalidArgument
4545
// with the original textproto.Error as the cause,
46-
// so it will show username or password to the user
46+
// so it will show username_password_incorrect to the user
4747
// while log the original error so that admin can check.
4848
// see: routers/web/auth/auth.go SiginPost
4949
if tperr, ok := err.(*textproto.Error); ok {

0 commit comments

Comments
 (0)