compatibility problem while using aliyun mail as authentication source #11642

Open
opened 2025-11-02 09:43:18 -06:00 by GiteaMirror · 0 comments
Owner

Originally created by @darren on GitHub (Sep 12, 2023).

Description

Use smtp as external authenticate source, if authenticate fails eg wrong password, gitea shows 500 error

aliyun mail returns error 526 while using wrong password

...ers/web/auth/auth.go:218:SignInPost() [I] Failed authentication attempt for xxxx@xxx.com from 127.0.0.1:39512: (code: 526, msg: Authentication failure[0])

Gitea Version

1.20

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

No response

Screenshots

No response

Git Version

No response

Operating System

No response

How are you running Gitea?

TAGS="bindata" make build

Database

None

Originally created by @darren on GitHub (Sep 12, 2023). ### Description Use smtp as external authenticate source, if authenticate fails eg wrong password, gitea shows 500 error aliyun mail returns error `526` while using wrong password ``` ...ers/web/auth/auth.go:218:SignInPost() [I] Failed authentication attempt for xxxx@xxx.com from 127.0.0.1:39512: (code: 526, msg: Authentication failure[0]) ``` ### Gitea Version 1.20 ### Can you reproduce the bug on the Gitea demo site? No ### Log Gist _No response_ ### Screenshots _No response_ ### Git Version _No response_ ### Operating System _No response_ ### How are you running Gitea? TAGS="bindata" make build ### Database None
GiteaMirror added the type/bug label 2025-11-02 09:43:18 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#11642