diff options
author | Unknwon <u@gogs.io> | 2017-04-06 17:20:38 -0400 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2017-04-06 17:20:38 -0400 |
commit | 2c404daca612b43bd6b0b720d3e732d9550c0eab (patch) | |
tree | 3e547af01e8f0176b0e2e5d5a87353649777871d /templates/user/settings/two_factor_enable.tmpl | |
parent | 0e271799f2ec744332761cd87fe0d96f4d9653e0 (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.tmpl | 2 |
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> |