vextoly/gitman

Fork of patx/gitman.

% rebase("base.tpl", title="Change password", user=user, error=error, notice=notice)

<section class="auth-card">
  <h1>Change password</h1>
  <form method="post" action="/settings/password">
    {{!csrf_field()}}
    <label>
      Current password
      <input type="password" name="current_password" autocomplete="current-password" maxlength="1024" required>
    </label>
    <label>
      New password
      <input type="password" name="new_password" autocomplete="new-password" minlength="8" maxlength="1024" required aria-describedby="password-hint">
    </label>
    <label>
      Confirm new password
      <input type="password" name="confirm_password" autocomplete="new-password" minlength="8" maxlength="1024" required>
    </label>
    <p class="muted" id="password-hint">At least 8 characters. Other browser sessions will be signed out.</p>
    <button class="button" type="submit">Change password</button>
  </form>
  <p class="muted"><a href="/settings/preferences">Back to preferences</a></p>
</section>