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>
|
2023-06-06 13:29:37 +08:00
|
|
|
{{template "user/auth/webauthn_error" .}}
|
2022-01-14 23:03:31 +08:00
|
|
|
<div class="ui attached segment">
|
2023-03-21 09:42:02 +08:00
|
|
|
{{svg "octicon-key" 56}}
|
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 "base/footer" .}}
|