You've already forked authentication-service
mirror of
https://github.com/matrix-org/matrix-authentication-service.git
synced 2025-11-21 23:00:50 +03:00
41 lines
1.4 KiB
HTML
41 lines
1.4 KiB
HTML
{#
|
|
Copyright 2022 The Matrix.org Foundation C.I.C.
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
you may not use this file except in compliance with the License.
|
|
You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
#}
|
|
|
|
{% extends "base.html" %}
|
|
|
|
{% block content %}
|
|
<section class="flex items-center justify-center flex-1">
|
|
<div class="w-96 m-2">
|
|
<form method="POST" class="grid grid-cols-1 gap-6">
|
|
<div class="rounded-lg bg-grey-25 dark:bg-grey-450 p-2 flex flex-col">
|
|
<div class="text-center">
|
|
<h1 class="text-lg text-center font-medium">{{ login.redirect_uri }}</h1>
|
|
<h1>wants to access your Matrix account</h1>
|
|
</div>
|
|
</div>
|
|
|
|
<input type="hidden" name="csrf" value="{{ csrf_token }}" />
|
|
|
|
{{ button::button(text="Allow") }}
|
|
</form>
|
|
<div class="text-center mt-4">
|
|
Not {{ current_session.user.username }}?
|
|
{{ logout::button(text="Sign out", class=button::text_class(), csrf_token=csrf_token, post_logout_action=action) }}
|
|
</div>
|
|
</div>
|
|
</section>
|
|
{% endblock content %}
|