Function: generatePassword()
generatePassword(
config):string
Defined in: src/auth/shared.ts:331
Generates a cryptographically random password that satisfies the given password requirements. Used to provision a default account when no explicit password has been configured for it.
Parameters
config
The password requirements the generated password must satisfy.
Returns
string
A randomly generated password meeting every requirement enabled in config.