users

User and password policies

# example
users:
  passwordHashAlgorithm: SHA512
  passwordHashAutoUpdate: true
  passwordSaltSize: 20
  usernamePattern: "^[a-zA-Z0-9_\\@\\-\\.]{1,128}$"

users.passwordHashAlgorithm

string: "SHA256" | "SHA384" | "SHA512" = "SHA512"

Password hash algorithm.

users.passwordHashAutoUpdate

boolean = true

Auto-update hash on user login when hash is outdated (algorithm or salt size differ from settings).

users.passwordSaltSize

number = 20

Size of salt in bytes. Allowed range is 8-256 bytes.

users.usernamePattern

string = '^[a-zA-Z0-9_\@\-\.]{1,128}$" (any alphanumeric characters and/or any of ‘_-@.’)

User name regular expression filter.