- Gitea version (or commit ref):
1.11.4
- Git version:
1:2.20.1-2+deb10u2
- Operating system:
debian buster
- Database (use
[x]):
- Can you reproduce the bug at https://try.gitea.io:
- Log gist: none
Description
Clicking Send Activation on /user/settings/accounts doesn't trigger any mail, but doesn't show any error (just "reloads" the page).
The issue is in the template:
|
<input name="id" type="hidden" value="{{if .IsPrimary}}PRIMARY{{else}}}.ID{{end}}"> |
In the generated HTML page it will show <input name="id" type="hidden" value="}.ID">.
Log show:
gitea[25052]: [Macaron] 2020-04-19 10:04:29: Completed POST /user/settings/account/email 302 Found in 2.042836ms
gitea[25052]: 2020/04/19 10:04:29 ...r/setting/account.go:121:EmailPost() [E] Send activation: email not set for activation
Don't think this could have ever worked since #10557.
1.11.41:2.20.1-2+deb10u2debian buster[x]):Description
Clicking
Send Activationon/user/settings/accountsdoesn't trigger any mail, but doesn't show any error (just "reloads" the page).The issue is in the template:
gitea/templates/user/settings/account.tmpl
Line 95 in 16f39ce
In the generated HTML page it will show
<input name="id" type="hidden" value="}.ID">.Log show:
Don't think this could have ever worked since #10557.