Skip to content

Commit

Permalink
Fix the post auth action being lost during the registration flow
Browse files Browse the repository at this point in the history
  • Loading branch information
sandhose committed Jan 14, 2025
1 parent 7bf7249 commit d94fd25
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion templates/pages/register/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
{% from "components/idp_brand.html" import logo %}

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

<div class="cpd-form-root">
{% for key, value in next["params"]|default({})|items %}
<input type="hidden" name="{{ key }}" value="{{ value }}" />
{% endfor %}

{% if features.password_registration %}
{{ button.button(text=_("mas.register.continue_with_email")) }}
{% endif %}
Expand Down

0 comments on commit d94fd25

Please sign in to comment.