aboutsummaryrefslogtreecommitdiff
path: root/templates/user/settings/password.tmpl
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2017-04-06 17:20:38 -0400
committerUnknwon <u@gogs.io>2017-04-06 17:20:38 -0400
commit2c404daca612b43bd6b0b720d3e732d9550c0eab (patch)
tree3e547af01e8f0176b0e2e5d5a87353649777871d /templates/user/settings/password.tmpl
parent0e271799f2ec744332761cd87fe0d96f4d9653e0 (diff)
pkg/context: rename {CsrfToken, CsrfTokenHtml} -> {CSRFToken, CSRFTokenHTML}
Diffstat (limited to 'templates/user/settings/password.tmpl')
-rw-r--r--templates/user/settings/password.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/user/settings/password.tmpl b/templates/user/settings/password.tmpl
index 644f4f93..8d702f59 100644
--- a/templates/user/settings/password.tmpl
+++ b/templates/user/settings/password.tmpl
@@ -11,7 +11,7 @@
<div class="ui attached segment">
{{if .SignedUser.IsLocal}}
<form class="ui form" action="{{.Link}}" method="post">
- {{.CsrfTokenHtml}}
+ {{.CSRFTokenHTML}}
<div class="required field {{if .Err_OldPassword}}error{{end}}">
<label for="old_password">{{.i18n.Tr "settings.old_password"}}</label>
<input id="old_password" name="old_password" type="password" autofocus required>