Skip to content

Commit

Permalink
fix(account): Email change form action url was empty
Browse files Browse the repository at this point in the history
  • Loading branch information
pennersr committed Oct 20, 2023
1 parent a0ff1aa commit 15c1223
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion allauth/templates/account/email_change.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
{% trans 'Your email address is still pending verification:' %} <a href="mailto:{{ new_emailaddress.email }}">{{ new_emailaddress.email }}</a>
</p>
{% url 'account_email' as action_url %}
{% element form method="post" action="" tags="button-only" no_visible_fields=True %}
{% element form method="post" action=action_url tags="button-only" no_visible_fields=True %}
{% slot body %}
{% csrf_token %}
<input type="hidden" name="email" value="{{ new_emailaddress.email }}">
Expand Down

0 comments on commit 15c1223

Please sign in to comment.