Files
zitadel/console/src
53d7920349 fix(console): display minimum length in password complexity message (#12419)
# Which Problems Are Solved

During user registration and password changes, the console's password
complexity hint displayed the raw `{{value}}` placeholder instead of the
configured minimum length — e.g. `Must be at least {{value}} characters
long (0/8)`. The bug is language-independent (confirmed in English and
Dutch).

# How the Problems Are Solved

The `password-complexity-view` template passed `policy.minLength` — a
proto `uint64` that deserializes to a JavaScript `bigint` — to the
ngx-translate pipe. ngx-translate v17's `formatValue` returns
`undefined` for a `bigint`, so the `{{value}}` token was never
substituted. The template now passes the component's existing
`minLength` getter (`Number(policy.minLength)`), so the value
interpolates correctly.

# Additional Changes

None

# Additional Context

- Closes #12390
- Reported on ZITADEL Cloud v4.15.3

---------

Co-authored-by: Cursor <[email protected]>
Co-authored-by: Ramon <[email protected]>
Co-authored-by: Livio Spring <[email protected]>
2026-07-17 08:37:41 +02:00
..
2021-02-08 16:48:41 +01:00
2026-04-02 15:53:08 +02:00