-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SMTP Auto Registration Broken after v1.15.11 #19256
Comments
zeripath
added a commit
to zeripath/gitea
that referenced
this issue
Mar 29, 2022
Unfortunately go-gitea#18789 disabled autoregistration using email addresses as they would be shortcut to email address does not exist. This PR attempts to restore autoregistration by allowing an unknown email address to percolate through to the autoregistration path of UserSignin. Fix go-gitea#19256 Signed-off-by: Andrew Thornton <[email protected]>
6543
pushed a commit
that referenced
this issue
Mar 31, 2022
Unfortunately #18789 disabled autoregistration using email addresses as they would be shortcut to email address does not exist. This PR attempts to restore autoregistration by allowing an unknown email address to percolate through to the autoregistration path of UserSignin. Fix #19256 Signed-off-by: Andrew Thornton <[email protected]>
zeripath
added a commit
to zeripath/gitea
that referenced
this issue
Apr 2, 2022
Backport go-gitea#19261 Unfortunately go-gitea#18789 disabled autoregistration using email addresses as they would be shortcut to email address does not exist. This PR attempts to restore autoregistration by allowing an unknown email address to percolate through to the autoregistration path of UserSignin. Fix go-gitea#19256 Signed-off-by: Andrew Thornton <[email protected]>
techknowlogick
pushed a commit
that referenced
this issue
Apr 3, 2022
Backport #19261 Unfortunately #18789 disabled autoregistration using email addresses as they would be shortcut to email address does not exist. This PR attempts to restore autoregistration by allowing an unknown email address to percolate through to the autoregistration path of UserSignin. Fix #19256 Signed-off-by: Andrew Thornton <[email protected]>
1.16.6 Not fixed |
I have just tested on 1.16.6 and it is working. I can register a new user via the SMTP source. |
Then you need to give us more information. |
I found that's my SMTP provider fault |
AbdulrhmnGhanem
pushed a commit
to kitspace/gitea
that referenced
this issue
Aug 24, 2022
Unfortunately go-gitea#18789 disabled autoregistration using email addresses as they would be shortcut to email address does not exist. This PR attempts to restore autoregistration by allowing an unknown email address to percolate through to the autoregistration path of UserSignin. Fix go-gitea#19256 Signed-off-by: Andrew Thornton <[email protected]>
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Description
If I add an SMTP auth source to an install of Gitea v1.15.11, I can register new accounts by logging in against that source.
If I do the same in Gitea v1.16.5, new accounts will not register, and I get a
Username or password is incorrect.
error. This is true whether I use a fresh install, or if I migrate the above instance to v1.16.Even though I can't register a new account, if I add the user manually I can then login with SMTP auth. This implies the SMTP connection is set up correctly.
I am doing all this as part of an evaluation exercise, so these are all fresh, clean Gitea installs.
I get the following in the logs:
My research suggests that this relates to issue #16612, where the SMTP was overhauled between the two versions.
Reproduction:
v1.15.11 working
v.1.16.5 not working
Gitea Version
v1.16.5
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?
Self hosted on both WSL Ubuntu 20 and Windows 11. Not running in a package.
Database
SQLite
The text was updated successfully, but these errors were encountered: