{% extends "base.html" %} {% import "_partials.html" as ui %} {# The request step reproduces password-reset-desktop exactly, including its lead sentence and the right-aligned blue Continue button; the captured page carries no human-verification widget, so this clone adds none. The code and new-password step below was never captured and is locally designed. #} {% block title %}Password Reset - LeetCode{% endblock %} {% block header %}{{ ui.app_header(member, '', false) }}{% endblock %} {% block main %}

Password Reset

{% if stage == 'verify' %}

Enter the verification code we sent and choose a new password.

{% if notice %}

{{ notice }}

{% endif %}
{{ ui.field_error(errors, 'code') }} {{ ui.field_error(errors, 'password') }}
{% else %}

Forgot your password? Enter your email address, and we’ll send you a verification code to reset it.

{% if notice %}

{{ notice }}

{% endif %}
{{ ui.field_error(errors, 'email') }} {{ ui.field_error(errors, 'verification') }}
{% endif %}
{% endblock %} {% block footer %}{{ ui.app_footer('white') }}{% endblock %}