Skip to content

Commit 88b1fcc

Browse files
committed
Prefill email in login link for sign-up email
Updated the login button in the sign-up email template to include the email as a query parameter, allowing the login form to be prefilled for the user.
1 parent 9b0a87a commit 88b1fcc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • workers/email/src/templates/emails/sign-up

workers/email/src/templates/emails/sign-up/html.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
</tr>
2727
<tr>
2828
<td style="padding-right: 20px;padding-left: 20px;padding-bottom: 40px;">
29-
{% include '../../components/button.twig' with {href: host ~ '/login', label: 'Войти'} %}
29+
{% include '../../components/button.twig' with {href: host ~ '/login?emailPrefilled=' ~ endpoint, label: 'Войти'} %}
3030
</td>
3131
</tr>
3232

0 commit comments

Comments
 (0)