mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
feat(site): add forgot password link (#15108)
Demo: https://github.com/user-attachments/assets/139eb8c0-5bd6-4bbd-8064-a4acc526afda
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
UPDATE notification_templates
|
||||
SET
|
||||
title_template = E'Reset your password for Coder',
|
||||
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.',
|
||||
actions = '[{
|
||||
"label": "Reset password",
|
||||
"url": "{{ base_url }}/reset-password/change?otp={{.Labels.one_time_passcode}}&email={{ .UserEmail }}"
|
||||
}]'::jsonb
|
||||
WHERE
|
||||
id = '62f86a30-2330-4b61-a26d-311ff3b608cf'
|
||||
Reference in New Issue
Block a user