Skip to content

Commit c279704

Browse files
committed
Update message with @stirby copy
1 parent c0d3a6c commit c279704

File tree

3 files changed

+7
-9
lines changed

3 files changed

+7
-9
lines changed

coderd/database/migrations/000266_update_forgot_password_notification.up.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
UPDATE notification_templates
22
SET
33
title_template = E'Reset your password for Coder',
4-
body_template = E'Hi {{.UserName}},\n\nA request to reset the password for your Coder account has been made.\n\nIf you did not request to reset your password, you can ignore this message.',
4+
body_template = E'Hi {{.UserName}},\n\nUse the link below to reset your password.\n\nIf you did not make this request, you can ignore this message.',
55
actions = '[{
66
"label": "Reset password",
77
"url": "{{ base_url }}/reset-password/change?otp={{.Labels.one_time_passcode}}&email={{ .UserEmail }}"

coderd/notifications/testdata/rendered-templates/smtp/TemplateUserRequestedOneTimePasscode.html.golden

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ Content-Type: text/plain; charset=UTF-8
1212

1313
Hi Bobby,
1414

15-
A request to reset the password for your Coder account has been made.
15+
Use the link below to reset your password.
1616

17-
If you did not request to reset your password, you can ignore this message.
17+
If you did not make this request, you can ignore this message.
1818

1919

2020
Reset password: http://test.com/reset-password/change?otp=3Dfad9020b-6562-4=
@@ -50,11 +50,9 @@ argin: 8px 0 32px; line-height: 1.5;">
5050
<div style=3D"line-height: 1.5;">
5151
<p>Hi Bobby,</p>
5252

53-
<p>A request to reset the password for your Coder account has been made.</p=
54-
>
53+
<p>Use the link below to reset your password.</p>
5554

56-
<p>If you did not request to reset your password, you can ignore this messa=
57-
ge.</p>
55+
<p>If you did not make this request, you can ignore this message.</p>
5856
</div>
5957
<div style=3D"text-align: center; margin-top: 32px;">
6058
=20

coderd/notifications/testdata/rendered-templates/webhook/TemplateUserRequestedOneTimePasscode.json.golden

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,6 @@
2222
},
2323
"title": "Reset your password for Coder",
2424
"title_markdown": "Reset your password for Coder",
25-
"body": "Hi Bobby,\n\nA request to reset the password for your Coder account has been made.\n\nIf you did not request to reset your password, you can ignore this message.",
26-
"body_markdown": "Hi Bobby,\n\nA request to reset the password for your Coder account has been made.\n\nIf you did not request to reset your password, you can ignore this message."
25+
"body": "Hi Bobby,\n\nUse the link below to reset your password.\n\nIf you did not make this request, you can ignore this message.",
26+
"body_markdown": "Hi Bobby,\n\nUse the link below to reset your password.\n\nIf you did not make this request, you can ignore this message."
2727
}

0 commit comments

Comments
 (0)