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.

password.php 1.1KB

1234567891011121314151617181920212223242526272829
  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'] = "password";
  8. $username = (new User($_SESSION['login_uid']))->getUsername();
  9. ?>
  10. <form action="" method="POST">
  11. <div class="form-group">
  12. <label for="password"><?php $Strings->build("Password for {user}", ["user" => htmlentities($username)]); ?></label>
  13. <div class="input-group">
  14. <div class="input-group-prepend">
  15. <span class="input-group-text"><i class="fas fa-lock"></i></span>
  16. </div>
  17. <input type="password" class="form-control" id="password" name="password" aria-describedby="passwordHelp" placeholder="" required autofocus>
  18. </div>
  19. <small id="passwordHelp" class="form-text text-muted">Enter your password.</small>
  20. </div>
  21. <div class="d-flex">
  22. <button type="submit" class="btn btn-primary ml-auto">
  23. <i class="fas fa-chevron-right"></i> <?php $Strings->get("continue"); ?>
  24. </button>
  25. </div>
  26. </form>