2018-05-19 09:12:37 -05:00
|
|
|
{{template "base/head" .}}
|
2020-11-30 23:00:14 -05:00
|
|
|
<div class="page-content user signin">
|
2018-05-19 09:12:37 -05:00
|
|
|
<div class="ui middle centered very relaxed page grid">
|
|
|
|
<div class="column">
|
|
|
|
<h3 class="ui top attached header">
|
|
|
|
{{.i18n.Tr "twofa"}}
|
|
|
|
</h3>
|
|
|
|
<div class="ui attached segment">
|
|
|
|
<i class="huge key icon"></i>
|
|
|
|
<h3>{{.i18n.Tr "u2f_insert_key"}}</h3>
|
|
|
|
{{template "base/alert" .}}
|
|
|
|
<p>{{.i18n.Tr "u2f_sign_in"}}</p>
|
|
|
|
</div>
|
|
|
|
<div id="wait-for-key" class="ui attached segment"><div class="ui active indeterminate inline loader"></div> {{.i18n.Tr "u2f_press_button"}} </div>
|
2021-11-08 17:47:19 -05:00
|
|
|
{{if .TOTPEnrolled}}
|
|
|
|
<div class="ui attached segment">
|
|
|
|
<a href="{{AppSubUrl}}/user/two_factor">{{.i18n.Tr "u2f_use_twofa"}}</a>
|
|
|
|
</div>
|
|
|
|
{{end}}
|
2018-05-19 09:12:37 -05:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{{template "user/auth/u2f_error" .}}
|
|
|
|
{{template "base/footer" .}}
|