Skip to content

Commit 49ed6ef

Browse files
authored
Merge pull request #138 from dotkernel/issue-137
fixed email leading texts and reset password url
2 parents 9dee672 + 2faa253 commit 49ed6ef

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
Hi {{ user.name }},<br /><br />
22

3-
You can activate your {{ config.application.name }} account using <a href="{{ url('account.activate', {'hash': user.hash}) }}" target="_blank">this link</a>.
3+
You can activate your {{ config.application.name }} account by copying the link below to the "Activate my account" PATCH endpoint in Postman:<br />
4+
<a href="{{ url('account.activate', {'hash': user.hash}) }}" target="_blank">{{ url('account.activate', {'hash': user.hash}) }}</a>

src/User/templates/user/reset-password-requested.html.twig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{% set resetUrl = url('account.reset-password.request', {'hash': user.resetPasswords|last.hash}) %}
1+
{% set resetUrl = url('account.modify-password', {'hash': user.resetPasswords|last.hash}) %}
22
<div>
33

44
<p>Hi {{ user.detail.firstname ?? user.identity }},</p>
@@ -9,7 +9,7 @@
99
</p>
1010

1111
<p>
12-
Otherwise, you can reset your password by clicking on the link below:<br />
12+
Otherwise, you can reset your password by copying the link below to the "Modify my password" PATCH endpoint in Postman:<br />
1313
<a href="{{ resetUrl }}" target="_blank">{{ resetUrl }}</a>
1414
</p>
1515

0 commit comments

Comments
 (0)