loefsys.profile.password_validators module

Adds some extra requirements for creating a password.

class loefsys.profile.password_validators.CustomComplexityValidator

Bases: object

Defines some regular expressions that need to be in the password.

validate(password, __)

Validate regular expressions that need to be in the password.

get_help_text()

Return a message if the requirements are not met.