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.

u2f.tmpl 815B

123456789101112131415161718192021222324
  1. {{template "base/head" .}}
  2. <div class="page-content user signin">
  3. <div class="ui middle centered very relaxed page grid">
  4. <div class="column">
  5. <h3 class="ui top attached header">
  6. {{.i18n.Tr "twofa"}}
  7. </h3>
  8. <div class="ui attached segment">
  9. <i class="huge key icon"></i>
  10. <h3>{{.i18n.Tr "u2f_insert_key"}}</h3>
  11. {{template "base/alert" .}}
  12. <p>{{.i18n.Tr "u2f_sign_in"}}</p>
  13. </div>
  14. <div id="wait-for-key" class="ui attached segment"><div class="ui active indeterminate inline loader"></div> {{.i18n.Tr "u2f_press_button"}} </div>
  15. {{if .TOTPEnrolled}}
  16. <div class="ui attached segment">
  17. <a href="{{AppSubUrl}}/user/two_factor">{{.i18n.Tr "u2f_use_twofa"}}</a>
  18. </div>
  19. {{end}}
  20. </div>
  21. </div>
  22. </div>
  23. {{template "user/auth/u2f_error" .}}
  24. {{template "base/footer" .}}