{# Copyright 2024 New Vector Ltd. Copyright 2021-2024 The Matrix.org Foundation C.I.C. SPDX-License-Identifier: AGPL-3.0-only Please see LICENSE in the repository root for full details. -#} {% extends "base.html" %} {% block content %}
{{ icon.lock() }}

Hi {{ current_session.user.username }}

To continue, please verify it's you:

{# TODO: errors #} {% call(f) field.field(label=_("common.password"), name="password", form_state=form) %} {% endcall %} {{ button.button(text=_("action.continue")) }}
{% if next and next.kind == "continue_authorization_grant" %} {{ back_to_client.link( text="Cancel", destructive=True, uri=next.grant.redirect_uri, mode=next.grant.response_mode, params=dict(error="access_denied", state=next.grant.state) ) }} {% endif %}

Not {{ current_session.user.username }}?

{% set post_logout_action = next["params"] | default({}) %} {{ logout.button(text="Sign out", csrf_token=csrf_token, post_logout_action=post_logout_action, as_link=true) }}
{% endblock content %}