2022-01-14 23:03:31 +08:00
|
|
|
{{template "base/head" .}}
|
|
|
|
<div class="user signin webauthn-prompt">
|
|
|
|
<div class="ui middle centered very relaxed page grid">
|
2022-09-10 04:18:54 +08:00
|
|
|
<div class="column center aligned">
|
2022-01-14 23:03:31 +08:00
|
|
|
<h3 class="ui top attached header">
|
2022-06-28 04:58:46 +08:00
|
|
|
{{.locale.Tr "twofa"}}
|
2022-01-14 23:03:31 +08:00
|
|
|
</h3>
|
|
|
|
<div class="ui attached segment">
|
|
|
|
<i class="huge key icon"></i>
|
2022-06-28 04:58:46 +08:00
|
|
|
<h3>{{.locale.Tr "webauthn_insert_key"}}</h3>
|
2022-01-14 23:03:31 +08:00
|
|
|
{{template "base/alert" .}}
|
2022-06-28 04:58:46 +08:00
|
|
|
<p>{{.locale.Tr "webauthn_sign_in"}}</p>
|
2022-01-14 23:03:31 +08:00
|
|
|
</div>
|
2022-06-28 04:58:46 +08:00
|
|
|
<div class="ui attached segment"><div class="ui active indeterminate inline loader"></div> {{.locale.Tr "webauthn_press_button"}} </div>
|
2022-01-14 23:03:31 +08:00
|
|
|
<div class="ui attached segment">
|
2022-06-28 04:58:46 +08:00
|
|
|
<a href="{{AppSubUrl}}/user/two_factor">{{.locale.Tr "webauthn_use_twofa"}}</a>
|
2022-01-14 23:03:31 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{{template "user/auth/webauthn_error" .}}
|
|
|
|
{{template "base/footer" .}}
|