Creating an account through the admin UI means the administrator picks the
password, so the owner starts life with a secret someone else knows. Nothing
in the UI said so: the password form existed, but nobody was sent to it.
- identity: accounts carry must_change_password, set on admin creation and
cleared once the owner changes the password themselves
- POST /login returns the flag so the client can act on it right away
- GET /profile exposes it for the profile page
- web: after login, a flagged account goes straight to /profile, which shows
why; the banner disappears once the change succeeds
Backend tests cover both directions: a successful change clears the flag, a
failed one (wrong current password) leaves it alone.
A three-field form (current / new / confirm) that mirrors the surrounding
cards: same rounded-2xl container, same label and input classes, same
button styling. Client-side checks for length and mismatch run before the
request; the server's two translatable errors are mapped, anything else
surfaces verbatim.
Strings added to all six locales so i18n:parity stays green.