You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
{{template "base/head" .}}
|
|
|
|
<div class="user signin two-factor">
|
|
|
|
<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 center header">
|
|
|
|
{{.i18n.Tr "auth.login_two_factor_recovery"}}
|
|
|
|
</h3>
|
|
|
|
<div class="ui attached segment">
|
|
|
|
{{template "base/alert" .}}
|
|
|
|
<div class="required field">
|
|
|
|
<label for="recovery_code">{{.i18n.Tr "auth.login_two_factor_recovery_code"}}</label>
|
|
|
|
<div class="ui fluid input">
|
|
|
|
<input id="recovery_code" name="recovery_code" autofocus required>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<button class="ui fluid green button">{{.i18n.Tr "settings.two_factor_verify"}}</button>
|
|
|
|
</div>
|
|
|
|
<p>
|
|
|
|
<a href="{{AppSubUrl}}/user/login/two_factor">{{.i18n.Tr "auth.login_two_factor_enter_passcode"}}</a>
|
|
|
|
</p>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{{template "base/footer" .}}
|