Disabled HTMX boosting on OIDC forms to avoid errors.

This commit is contained in:
Éloi Rivard 2023-06-30 18:39:50 +02:00
parent f686121f0d
commit 2d80eb9ea9
3 changed files with 9 additions and 3 deletions

View file

@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file.
The format is based on `Keep a Changelog <https://keepachangelog.com/en/1.0.0/>`_, The format is based on `Keep a Changelog <https://keepachangelog.com/en/1.0.0/>`_,
and this project adheres to `Semantic Versioning <https://semver.org/spec/v2.0.0.html>`_. and this project adheres to `Semantic Versioning <https://semver.org/spec/v2.0.0.html>`_.
Fixed
*****
- Disabled HTMX boosting on OIDC forms to avoid errors.
[0.0.28] - 2023-06-30 [0.0.28] - 2023-06-30
===================== =====================

View file

@ -4,7 +4,7 @@
{% import 'partial/login_field.html' as login_field %} {% import 'partial/login_field.html' as login_field %}
{% block container %} {% block container %}
<div class="ui container"> <div class="ui container" hx-boost="false">
<div class="content"> <div class="content">
<div class="ui clearing segment"> <div class="ui clearing segment">
{% if logo_url %} {% if logo_url %}
@ -36,7 +36,7 @@
{% if has_smtp and has_password_recovery %} {% if has_smtp and has_password_recovery %}
<a type="button" class="ui right floated button" href="{{ url_for('account.forgotten') }}">{{ _("Forgotten password") }}</a> <a type="button" class="ui right floated button" href="{{ url_for('account.forgotten') }}">{{ _("Forgotten password") }}</a>
{% endif %} {% endif %}
<button type="submit" class="ui right floated primary button">{{ _("Continue") }}</button> <button type="submit" name="answer" class="ui right floated primary button" hx-boost="false">{{ _("Continue") }}</button>
</div> </div>
</div> </div>
{% endcall %} {% endcall %}

View file

@ -2,7 +2,7 @@
{% import 'macro/form.html' as fui %} {% import 'macro/form.html' as fui %}
{% block content %} {% block content %}
<div class="ui segment"> <div class="ui segment" hx-boost="false">
{% if client.logo_uri %} {% if client.logo_uri %}
<img class="ui centered tiny image" src="{{ client.logo_uri }}" alt="{{ client.client_name }}"> <img class="ui centered tiny image" src="{{ client.logo_uri }}" alt="{{ client.client_name }}">
{% endif %} {% endif %}