-
-
Notifications
You must be signed in to change notification settings - Fork 6.2k
Closed
Description
-
Gitea version (or commit ref): 1.15.0+dev-549-gbc6f060b8
-
Git version: 2.30.2
-
Operating system:
Ubuntu 21.04 & Windows 10
Both the official version and the version compiled by myself have been tested.
I am running gitea from systemd(247.3-3ubuntu3.1) or WinSW(3.0.0). -
Database (use
[x]):- PostgreSQL
- MySQL
- MSSQL
- SQLite
-
Can you reproduce the bug at https://try.gitea.io:
- Yes (/user/settings/account /admin/emails)
- No
-
Log gist:
It fired an error when a new user who signed up without primary mail activated click the Send Activation button.
Send activation: email not set for activation
Description
- When
RegisterEmailConfirmis enabled, the primary email should be activated together with the user account. Otherwise, the primary email can not be activated for theSend Activationnot work, and the admin can not activate the user email either. - There is some invalid params in email template since Localize Email Templates #16200. Like
%!(EXTRA string=xxx, string=Gitea: Git with a cup of tea) - I guess the
i18n: mail.activate_account.test_xmight be a typo, maybemail.activate_account.text_x?
I have fixed the errors above. Could I create a PR?
main...Meano:develop


