mirror of
https://github.com/element-hq/matrix-authentication-service.git
synced 2026-05-12 17:25:05 +00:00
fbc360d1a9
* config: Add minimum password complexity option * PasswordManager: add function for checking if complexity is sufficient * Enforce password complexity on registration, change and recovery * cli: Use exit code 1 for weak passwords This seems preferable to exit code 0, but ideally we should choose one and document it. * Expose minimum password complexity score over GraphQL