Feature request: password length

The config PASSWORD_COMPLEXITY can be configured.
It would be nice to have one for PASSWORD_LENGTH.

https://docs.gitea.io/en-us/config-cheat-sheet/

Hello and welcome! There is a setting for this, however it’s not covered on the cheat sheet currently. :slightly_frowning_face:

Thanks. The pam_pwquality library has quite a few extra options. Would be nice to get those at some stage. For example, I want users to use at least 3 character classes, but I don’t want to dictate which classes.

https://linux.die.net/man/8/pam_pwquality