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.

26 lines
774 B

  1. {{template "base/head" .}}
  2. <div class="user signin">
  3. <div class="ui middle very relaxed page grid">
  4. <div class="column">
  5. <form class="ui form" action="{{.Link}}" method="post">
  6. {{.CsrfTokenHtml}}
  7. <h3 class="ui top attached header">
  8. {{.i18n.Tr "twofa_scratch"}}
  9. </h3>
  10. <div class="ui attached segment">
  11. {{template "base/alert" .}}
  12. <div class="required inline field">
  13. <label for="token">{{.i18n.Tr "auth.scratch_code"}}</label>
  14. <input id="token" name="token" type="text" autocomplete="off" required>
  15. </div>
  16. <div class="inline field">
  17. <label></label>
  18. <button class="ui green button">{{.i18n.Tr "auth.verify"}}</button>
  19. </div>
  20. </div>
  21. </form>
  22. </div>
  23. </div>
  24. </div>
  25. {{template "base/footer" .}}