Skip to content

Commit

Permalink
rebase stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenbal committed Feb 23, 2024
1 parent 536a183 commit ce00d00
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
{% get_solo 'configurations.SiteConfiguration' as config %}
<h1 class="h1">{% trans "Registratie voltooien" %}</h1><br>
{% if config.registration_text %}<p class="p">{{ config.registration_text|urlize|linebreaksbr }}</p><br>{% endif %}
<form method="POST" id="necessary-form" action="{% url 'profile:registration_necessary' %}" class="form" novalidate>
<form method="POST" id="necessary-form" action="{{ request.get_full_path }}" class="form" novalidate>
{% csrf_token %}

{% for field in form.fields %}
Expand Down
2 changes: 1 addition & 1 deletion src/open_inwoner/accounts/tests/test_auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -708,7 +708,7 @@ def test_redirect_flow_with_no_vestigingsnummer(self, mock_solo, mock_kvk):
response = self.client.post(url, data, user=user, follow=True)
self.assertRedirects(
response,
f"{reverse('profile:registration_necessary')}",
furl(f"{reverse('profile:registration_necessary')}").set({"next": "/"}),
)

# check company branch number in session
Expand Down

0 comments on commit ce00d00

Please sign in to comment.