mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
feat: implement api for "forgot password?" flow (#14915)
Relates to https://github.com/coder/coder/issues/14232 This implements two endpoints (names subject to change): - `/api/v2/users/otp/request` - `/api/v2/users/otp/change-password`
This commit is contained in:
coderd/notifications/testdata/rendered-templates/TemplateUserRequestedOneTimePasscode-body.md.golden
Vendored
+7
@@ -0,0 +1,7 @@
|
||||
Hi Bobby,
|
||||
|
||||
A request to reset the password for your Coder account has been made. Your one-time passcode is:
|
||||
|
||||
**fad9020b-6562-4cdb-87f1-0486f1bea415**
|
||||
|
||||
If you did not request to reset your password, you can ignore this message.
|
||||
+1
@@ -0,0 +1 @@
|
||||
Your One-Time Passcode for Coder.
|
||||
Reference in New Issue
Block a user