fix: disable HTMX boosting during the OIDC dance

This commit is contained in:
Éloi Rivard 2023-11-24 14:45:59 +01:00
parent 5ceba1e41e
commit 4e380436d3
No known key found for this signature in database
GPG key ID: 7EDA204EA57DD184
3 changed files with 7 additions and 1 deletions

View file

@ -15,6 +15,11 @@ Changed
- Model attributes cardinality is closer to SCIM model. :pr:`155`
- Bump to htmx 1.9.9 :pr:`159`
Fixed
*****
- Disable HTMX boosting during the OIDC dance. :pr:`160`
[0.0.34] - 2023-10-02
=====================

View file

@ -24,7 +24,7 @@
{{ flask.messages() }}
{% call fui.render_form(form) %}
{% call fui.render_form(form, hx_boost="false") %}
{{ login_field.render_field(form.password, class="autofocus") }}
<div class="ui right aligned container">

View file

@ -185,6 +185,7 @@ csrf=true) -%}
role="form"
enctype="multipart/form-data"
class="ui form {{ class_ }}"
{% for key, value in kwargs.items() %}{{ key.replace("_", "-") }}="{{ value }}" {% endfor %}
>
{% if caller is defined %}
{% if csrf %}