2017-01-16 07:44:29 +05:30
|
|
|
{{template "base/head" .}}
|
2020-12-01 09:30:14 +05:30
|
|
|
<div class="page-content user signin">
|
2017-01-16 07:44:29 +05:30
|
|
|
<div class="ui middle very relaxed page grid">
|
|
|
|
<div class="column">
|
|
|
|
<form class="ui form" action="{{.Link}}" method="post">
|
|
|
|
{{.CsrfTokenHtml}}
|
|
|
|
<h3 class="ui top attached header">
|
|
|
|
{{.i18n.Tr "twofa"}}
|
|
|
|
</h3>
|
|
|
|
<div class="ui attached segment">
|
|
|
|
{{template "base/alert" .}}
|
|
|
|
<div class="required inline field">
|
|
|
|
<label for="passcode">{{.i18n.Tr "passcode"}}</label>
|
2017-05-16 13:00:20 +05:30
|
|
|
<input id="passcode" name="passcode" type="number" autocomplete="off" autofocus required>
|
2017-01-16 07:44:29 +05:30
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="inline field">
|
|
|
|
<label></label>
|
|
|
|
<button class="ui green button">{{.i18n.Tr "auth.verify"}}</button>
|
2021-04-11 09:16:37 +05:30
|
|
|
<a href="{{AppSubUrl}}/user/two_factor/scratch">{{.i18n.Tr "auth.use_scratch_code" | Str2html}}</a>
|
2017-01-16 07:44:29 +05:30
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{{template "base/footer" .}}
|