mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
fix: show audit logs for forgot password flow (#15181)
Fixes https://github.com/coder/coder/issues/15150 Audit logs for requesting a password reset, and a user updating their password, now show up in the audit log.
This commit is contained in:
@@ -145,7 +145,7 @@ var auditableResourcesTypes = map[any]map[string]Action{
|
||||
"theme_preference": ActionIgnore,
|
||||
"name": ActionTrack,
|
||||
"github_com_user_id": ActionIgnore,
|
||||
"hashed_one_time_passcode": ActionSecret, // Do not expose a user's one time passcode.
|
||||
"hashed_one_time_passcode": ActionIgnore,
|
||||
"one_time_passcode_expires_at": ActionTrack,
|
||||
"must_reset_password": ActionTrack,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user