aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzeripath2020-04-19 13:35:34 +0100
committerGitHub2020-04-19 20:35:34 +0800
commitcebef5c871095b854b03f44d88fc376a7c9570c2 (patch)
tree727d57c5c1b2d7eb9762ae209e285f53770d7fc3
parent245d6ebda5ab89eb84d99c803c6d50f67cc6147e (diff)
Remove errant third closing curly-bracket from account.tmpl and send account ID in account.tmpl (#11130)
* Remove errant third } from account.tmpl Fix #11128 Signed-off-by: Andrew Thornton <art27@cantab.net> * Update templates/user/settings/account.tmpl
-rw-r--r--templates/user/settings/account.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/user/settings/account.tmpl b/templates/user/settings/account.tmpl
index f5cf7f79c..790ef81f5 100644
--- a/templates/user/settings/account.tmpl
+++ b/templates/user/settings/account.tmpl
@@ -92,7 +92,7 @@
<form action="{{AppSubUrl}}/user/settings/account/email" method="post">
{{$.CsrfTokenHtml}}
<input name="_method" type="hidden" value="SENDACTIVATION">
- <input name="id" type="hidden" value="{{if .IsPrimary}}PRIMARY{{else}}}.ID{{end}}">
+ <input name="id" type="hidden" value="{{if .IsPrimary}}PRIMARY{{else}}{{.ID}}{{end}}">
{{if $.ActivationsPending}}
<button disabled class="ui blue tiny button">{{$.i18n.Tr "settings.activations_pending"}}</button>
{{else}}