resetpass.tx 870 B

12345678910111213141516171819202122
  1. <h2>Reset Authentication Details</h2>
  2. <h3>Reset Password</h3>
  3. <form id="resetpass" action="/request_password_reset" method="POST">
  4. : if ($user) {
  5. <label for="password">Password:</label>
  6. <input type="password" class="cooltext" name="password" placeholder="password123" />
  7. <input type="hidden" name="username" value="<: $user :>" />
  8. : } else {
  9. <label for="username">Username:</label>
  10. <input type="text" class="cooltext" name="username" placeholder="DrBoomer" />
  11. : }
  12. <input type="submit" value="Reset Password">
  13. </form>
  14. <br /><br />
  15. <h3>Lost your authenticator?</h3>
  16. <p>
  17. TOTP cannot be turned off &mdash; losing a phone is not a reason to stop
  18. having a second factor. Your enrolment is still on the server, so ask
  19. whoever runs this site to read it back to you with <code>bin/totp</code>,
  20. and scan it into a new authenticator.
  21. </p>