aboutsummaryrefslogtreecommitdiffstats
path: root/templates/user/auth/twofa_scratch.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/user/auth/twofa_scratch.tmpl')
-rw-r--r--templates/user/auth/twofa_scratch.tmpl6
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/user/auth/twofa_scratch.tmpl b/templates/user/auth/twofa_scratch.tmpl
index 58942050f5..1aa044b4a5 100644
--- a/templates/user/auth/twofa_scratch.tmpl
+++ b/templates/user/auth/twofa_scratch.tmpl
@@ -5,18 +5,18 @@
<form class="ui form" action="{{.Link}}" method="post">
{{.CsrfTokenHtml}}
<h3 class="ui top attached header">
- {{.locale.Tr "twofa_scratch"}}
+ {{ctx.Locale.Tr "twofa_scratch"}}
</h3>
<div class="ui attached segment">
{{template "base/alert" .}}
<div class="required inline field">
- <label for="token">{{.locale.Tr "auth.scratch_code"}}</label>
+ <label for="token">{{ctx.Locale.Tr "auth.scratch_code"}}</label>
<input id="token" name="token" type="text" autocomplete="off" autofocus required>
</div>
<div class="inline field">
<label></label>
- <button class="ui primary button">{{.locale.Tr "auth.verify"}}</button>
+ <button class="ui primary button">{{ctx.Locale.Tr "auth.verify"}}</button>
</div>
</div>
</form>