Single-sign-on and self-serve account management. https://netsyms.biz/apps/accounthub
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.

totp.php 1.0KB

12345678910111213141516171819202122232425262728
  1. <?php
  2. /*
  3. * This Source Code Form is subject to the terms of the Mozilla Public
  4. * License, v. 2.0. If a copy of the MPL was not distributed with this
  5. * file, You can obtain one at http://mozilla.org/MPL/2.0/.
  6. */
  7. $_SESSION['check'] = "totp";
  8. ?>
  9. <form action="" method="POST">
  10. <div class="form-group">
  11. <label for="totp"><?php $Strings->get("Two-factor code"); ?></label>
  12. <div class="input-group">
  13. <div class="input-group-prepend">
  14. <span class="input-group-text"><i class="fas fa-mobile-alt"></i></span>
  15. </div>
  16. <input type="text" class="form-control" id="totp" name="totp" aria-describedby="totpHelp" placeholder="" required autofocus>
  17. </div>
  18. <small id="passwordHelp" class="form-text text-muted">Enter the two-factor code from your mobile device.</small>
  19. </div>
  20. <div class="d-flex">
  21. <button type="submit" class="btn btn-primary ml-auto">
  22. <i class="fas fa-chevron-right"></i> <?php $Strings->get("continue"); ?>
  23. </button>
  24. </div>
  25. </form>