Password restrictions
It is possible to enforce password restrictions on user accounts when using the native Overleaf login system for authentication.
To do so, you'll need to set the relevant environment variable in the Toolkits config/variables.env file.
OVERLEAF_PASSWORD_VALIDATION_MIN_LENGTH
The minimum length required Default: 8
OVERLEAF_PASSWORD_VALIDATION_MAX_LENGTH
The maximum length allowed Default: 72
OVERLEAF_PASSWORD_VALIDATION_PATTERN
Used to validate password strength:
abc123
– password requires 3 letters and 3 numbers and be at least 6 characters longaA
– password requires lower and uppercase letters and be 2 characters longab$3
– it must contain letters, digits and symbols and be 4 characters longThere are 4 groups of characters: letters, UPPERcase letters, digits, symbols. Everything that is neither letter, nor digit is considered to be a symbol.
Last updated
Was this helpful?