Home > @opengovsg/logging > PasswordResetInput
PasswordResetInput interface
Input for UserManagementAudit.passwordReset().
Signature:
typescript
export interface PasswordResetInput extends AuditInputBaseExtends: AuditInputBase
Properties
| Property | Modifiers | Type | Description |
|---|---|---|---|
| initiatedBy | 'self' | 'admin' | Who initiated the reset — the account holder, or an administrator. | |
| targetUserId | string | The account whose password was reset. Emitted as context.target_user_id. |