[][src]Constant boringauth::pass::PASSWORD_MIN_LEN

pub const PASSWORD_MIN_LEN: usize

The minimal accepted length for passwords.

This value is set at a quite low level so LibreAuth can be used is some scenarios where it is ok to use such weak passwords. If the password is the main if not only authentication factor, you should enforce a more robust policy beforehand.

C interface

The C interface refers at this constant as LIBREAUTH_PASS_PASSWORD_MIN_LEN.