2017-01-16 03:14:29 +01:00
|
|
|
{{template "base/head" .}}
|
2020-12-01 05:00:14 +01:00
|
|
|
<div class="page-content user signin">
|
2017-01-16 03:14:29 +01:00
|
|
|
<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>
|
2021-07-18 02:06:22 +02:00
|
|
|
<input id="passcode" name="passcode" type="text" autocomplete="one-time-code" inputmode="numeric" pattern="[0-9]*" autofocus required>
|
2017-01-16 03:14:29 +01:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="inline field">
|
|
|
|
<label></label>
|
|
|
|
<button class="ui green button">{{.i18n.Tr "auth.verify"}}</button>
|
2021-04-11 05:46:37 +02:00
|
|
|
<a href="{{AppSubUrl}}/user/two_factor/scratch">{{.i18n.Tr "auth.use_scratch_code" | Str2html}}</a>
|
2017-01-16 03:14:29 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{{template "base/footer" .}}
|