Skip to content

Password settings

A series of settings are configurable for the built-in authentication method:

PATCH /api/v2/config/auth
{
"maxFailedLoginAttempts": 5,
"failedLoginAttemptsTTL": 300,
"userCacheTTL": 500,
"maxUserSessionDuration": 2592000,
"passwordRegex": "^[A-Za-z0-9!@#$%^&*()_+\\-=\\[\\]{};:<>,.?/|~`]+$",
"passwordMonthsValidity": 3
}