Skip to content

Commit cebef5c

Browse files
authored
Remove errant third closing curly-bracket from account.tmpl and send account ID in account.tmpl (go-gitea#11130)
* Remove errant third } from account.tmpl Fix go-gitea#11128 Signed-off-by: Andrew Thornton <[email protected]> * Update templates/user/settings/account.tmpl
1 parent 245d6eb commit cebef5c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/user/settings/account.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@
9292
<form action="{{AppSubUrl}}/user/settings/account/email" method="post">
9393
{{$.CsrfTokenHtml}}
9494
<input name="_method" type="hidden" value="SENDACTIVATION">
95-
<input name="id" type="hidden" value="{{if .IsPrimary}}PRIMARY{{else}}}.ID{{end}}">
95+
<input name="id" type="hidden" value="{{if .IsPrimary}}PRIMARY{{else}}{{.ID}}{{end}}">
9696
{{if $.ActivationsPending}}
9797
<button disabled class="ui blue tiny button">{{$.i18n.Tr "settings.activations_pending"}}</button>
9898
{{else}}

0 commit comments

Comments
 (0)