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

index 439700d0..f8badea7 100644 --- a/api/src/util/utility/passwordStrength.ts +++ b/api/src/util/utility/passwordStrength.ts
@@ -19,7 +19,7 @@ const blocklist: string[] = []; // TODO: update ones passwordblocklist is stored */ export function checkPassword(password: string): number { const { minLength, minNumbers, minUpperCase, minSymbols } = Config.get().register.password; - var strength = 0; + let strength = 0; // checks for total password len if (password.length >= minLength - 1) {