summary refs log tree commit diff
path: root/src/util/passwordStrength.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/passwordStrength.ts')
-rw-r--r--src/util/passwordStrength.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/passwordStrength.ts b/src/util/passwordStrength.ts

index 7196f797..bc8ce2c4 100644 --- a/src/util/passwordStrength.ts +++ b/src/util/passwordStrength.ts
@@ -23,7 +23,7 @@ export function check(password: string): number { minUpperCase, minSymbols, blockInsecureCommonPasswords, - } = Config.apiConfig.getAll().register.password; + } = (Config.apiConfig.getAll() as Config.DefaultOptions).register.password; var strength = 0; // checks for total password len