mirror of
https://github.com/go-gitea/gitea
synced 2024-11-18 16:14:26 +00:00
951309f76a
* Add support for U2F Signed-off-by: Jonas Franz <info@jonasfranz.software> * Add vendor library Add missing translations Signed-off-by: Jonas Franz <info@jonasfranz.software> * Minor improvements Signed-off-by: Jonas Franz <info@jonasfranz.software> * Add U2F support for Firefox, Chrome (Android) by introducing a custom JS library Add U2F error handling Signed-off-by: Jonas Franz <info@jonasfranz.software> * Add U2F login page to OAuth Signed-off-by: Jonas Franz <info@jonasfranz.software> * Move U2F user settings to a separate file Signed-off-by: Jonas Franz <info@jonasfranz.software> * Add unit tests for u2f model Renamed u2f table name Signed-off-by: Jonas Franz <info@jonasfranz.software> * Fix problems caused by refactoring Signed-off-by: Jonas Franz <info@jonasfranz.software> * Add U2F documentation Signed-off-by: Jonas Franz <info@jonasfranz.software> * Remove not needed console.log-s Signed-off-by: Jonas Franz <info@jonasfranz.software> * Add default values to app.ini.sample Add FIDO U2F to comparison Signed-off-by: Jonas Franz <info@jonasfranz.software>
23 lines
751 B
Cheetah
23 lines
751 B
Cheetah
{{template "base/head" .}}
|
|
<div class="user signin">
|
|
<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>
|
|
<div class="ui attached segment">
|
|
<a href="/user/two_factor">{{.i18n.Tr "u2f_use_twofa"}}</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{{template "user/auth/u2f_error" .}}
|
|
{{template "base/footer" .}}
|