Skip to content

Clear Create User plaintext password on every dialog close path #314

Closed

Description

@mforce

Parent: #244
Epic: #15
Severity: Low
Execution mode: AFK

What to build

Reset the Create User form credential state whenever its dialog closes. The typed plaintext password currently survives cancellation and can reappear when the dialog is opened again. Clear it on Cancel, close button, Escape, overlay dismissal, route/unmount, and successful creation while preserving useful validation state only while the same dialog session remains open.

Acceptance criteria

  • Reopening the dialog after every close path shows an empty password field.
  • Successful creation clears the password before or as the dialog unmounts.
  • A failed submission may retain input for correction only until the user closes the dialog.
  • Password state is never written to logs, telemetry, localStorage, sessionStorage, URL state, or query caches.
  • Frontend tests cover Cancel, close button, Escape, overlay dismissal, success, and unmount.

Blocked by

None.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:frontendReact/Vite web clientbugSomething isn't workingepic-1.5sliceThin vertical work item

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions