BioTorrents.de’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.8KB

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