providers/saml: fix autosubmit_form using wrong template
This commit is contained in:
parent
429627494c
commit
0bfb623f97
|
@ -1,9 +1,9 @@
|
||||||
{% extends "login/base.html" %}
|
{% extends "login/denied.html" %}
|
||||||
|
|
||||||
{% load passbook_utils %}
|
{% load passbook_utils %}
|
||||||
{% load i18n %}
|
{% load i18n %}
|
||||||
|
|
||||||
{% block card_title %}
|
{% block title %}
|
||||||
{% blocktrans with app=application.name %}
|
{% blocktrans with app=application.name %}
|
||||||
Redirecting to {{ app }}...
|
Redirecting to {{ app }}...
|
||||||
{% endblocktrans %}
|
{% endblocktrans %}
|
||||||
|
@ -15,15 +15,22 @@ Redirecting to {{ app }}...
|
||||||
{% for key, value in attrs.items %}
|
{% for key, value in attrs.items %}
|
||||||
<input type="hidden" name="{{ key }}" value="{{ value }}">
|
<input type="hidden" name="{{ key }}" value="{{ value }}">
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
<div class="pf-c-form__group">
|
<div class="pf-c-form__group pf-u-display-flex pf-u-justify-content-center">
|
||||||
|
<div class="pf-c-form__group-control">
|
||||||
<span class="pf-c-spinner" role="progressbar" aria-valuetext="Loading...">
|
<span class="pf-c-spinner" role="progressbar" aria-valuetext="Loading...">
|
||||||
<span class="pf-c-spinner__clipper"></span>
|
<span class="pf-c-spinner__clipper"></span>
|
||||||
<span class="pf-c-spinner__lead-ball"></span>
|
<span class="pf-c-spinner__lead-ball"></span>
|
||||||
<span class="pf-c-spinner__tail-ball"></span>
|
<span class="pf-c-spinner__tail-ball"></span>
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
<div class="pf-c-form__group pf-m-action">
|
<div class="pf-c-form__group pf-m-action">
|
||||||
|
<div class="pf-c-form__actions">
|
||||||
<button class="pf-c-button pf-m-primary pf-m-block" type="submit">{% trans 'Continue' %}</button>
|
<button class="pf-c-button pf-m-primary pf-m-block" type="submit">{% trans 'Continue' %}</button>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
</form>
|
</form>
|
||||||
|
<script>
|
||||||
|
document.querySelector("form").submit();
|
||||||
|
</script>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
Reference in New Issue