FreedomBox/plinth/modules/users/templates/users_captcha.html
Sunil Mohan Adapa a7584b465d
sso: Merge into users module, drop pubtkt related code
Tests:

- 'make install' removes enabled sso module

- Already logged in users stay logged in after update

- Apps need to re-authenticate of update (but this is transparent)

- Login and logout work as expected

- Failed login attempts lead to CAPTCHA form

- CAPTCHA form can't be skipped

- Answering CAPTCHA form will lead back to login page

- Users functional tests work

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2026-03-02 20:51:41 -05:00

29 lines
600 B
HTML

{% extends "base.html" %}
{% comment %}
# SPDX-License-Identifier: AGPL-3.0-or-later
{% endcomment %}
{% load bootstrap %}
{% load i18n %}
{% block content %}
<form class="form form-captcha" method="post">
<div class="row">
{% csrf_token %}
<div class="col-md-4 offset-md-4">
{{ form|bootstrap }}
<div class="text-center">
<input type="submit" class="btn btn-primary"
value="{% trans "Proceed to Login" %}" />
</div>
</div>
</div>
<input type="hidden" name="next" value="{{ next }}" />
</form>
{% endblock %}