aboutsummaryrefslogtreecommitdiff
path: root/templates/user/settings/two_factor_enable.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/two_factor_enable.tmpl
parent0e271799f2ec744332761cd87fe0d96f4d9653e0 (diff)
pkg/context: rename {CsrfToken, CsrfTokenHtml} -> {CSRFToken, CSRFTokenHTML}
Diffstat (limited to 'templates/user/settings/two_factor_enable.tmpl')
-rw-r--r--templates/user/settings/two_factor_enable.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/user/settings/two_factor_enable.tmpl b/templates/user/settings/two_factor_enable.tmpl
index 1b981445..aa551aca 100644
--- a/templates/user/settings/two_factor_enable.tmpl
+++ b/templates/user/settings/two_factor_enable.tmpl
@@ -13,7 +13,7 @@
<img src="{{.QRCode}}" alt="{{.TwoFactorSecret}}">
<p>{{.i18n.Tr "settings.two_factor_or_enter_secret"}} <b>{{.TwoFactorSecret}}</b></p>
<form class="ui form" method="post">
- {{.CsrfTokenHtml}}
+ {{.CSRFTokenHTML}}
<div class="required inline field">
<span>{{.i18n.Tr "settings.two_factor_then_enter_passcode"}}</span>
<input class="ui input" name="passcode" autocomplete="off" autofocus required>