Skip to content

Commit a294b37

Browse files
committed
Fix the post auth action being lost during the registration flow
1 parent 3da27af commit a294b37

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

templates/pages/register/index.html

+5-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
{% from "components/idp_brand.html" import logo %}
1212

1313
{% block content %}
14-
<form method="GET" class="flex flex-col gap-10" action="{{ "/register/password" | prefix_url }}">
14+
<form method="GET" class="flex flex-col gap-10" action="{{ '/register/password' | prefix_url }}">
1515
<header class="page-heading">
1616
<div class="icon">
1717
{{ icon.user_profile_solid() }}
@@ -36,6 +36,10 @@ <h1 class="title">{{ _("mas.register.create_account.heading") }}</h1>
3636
{% endif %}
3737

3838
<div class="cpd-form-root">
39+
{% for key, value in next["params"]|default({})|items %}
40+
<input type="hidden" name="{{ key }}" value="{{ value }}" />
41+
{% endfor %}
42+
3943
{% if features.password_registration %}
4044
{{ button.button(text=_("mas.register.continue_with_email")) }}
4145
{% endif %}

0 commit comments

Comments
 (0)