Oppaitime's version of Gazelle
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.

recover_step2.php 1.7KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. <?
  2. BIC::challenge();
  3. View::show_header('Recover Password');
  4. ?>
  5. <script src="<?=(STATIC_SERVER)?>functions/validate.js" type="text/javascript"></script>
  6. <script src="<?=(STATIC_SERVER)?>functions/password_validate.js" type="text/javascript"></script>
  7. <form class="auth_form" name="recovery" id="recoverform" method="post" action="" onsubmit="return formVal();">
  8. <input type="hidden" name="key" value="<?=display_str($_REQUEST['key'])?>" />
  9. <div style="width: 500px;">
  10. <span class="titletext">Reset your password - Final Step</span><br /><br />
  11. <?
  12. if (empty($PassWasReset)) {
  13. if (!empty($Err)) {
  14. ?>
  15. <strong class="important_text"><?=display_str($Err)?></strong><br /><br />
  16. <? } ?> Any password 6 characters or longer is accepted, but a strong password is 8 characters or longer, contains at least 1 lowercase and uppercase letter, and contains at least a number or symbol.<br /><br />
  17. <table class="layout">
  18. <tr>
  19. <td><strong id="pass_strength"></strong></td>
  20. <td><input type="password" name="password" id="new_pass_1" class="inputtext" size="40" placeholder="New password" pattern=".{6,307200}" required></td>
  21. </tr>
  22. <tr>
  23. <td><strong id="pass_match"></strong></td>
  24. <td><input type="password" name="verifypassword" id="new_pass_2" class="inputtext" size="40" placeholder="Confirm password" pattern=".{6,307200}" required></td>
  25. </tr>
  26. <tr>
  27. <td></td>
  28. <td><input type="submit" name="reset" value="Reset!" class="submit"></td>
  29. </tr>
  30. </table>
  31. <? } else { ?>
  32. Your password has been successfully reset.<br />
  33. Please <a href="login.php">click here</a> to log in using your new password.
  34. <? } ?>
  35. </div>
  36. </form>
  37. <?
  38. View::show_footer(['recover' => true]);
  39. ?>