summary refs log tree commit diff
diff options
context:
space:
mode:
-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 81ac2559..e75e48f6 100644
--- a/api/src/util/utility/passwordStrength.ts
+++ b/api/src/util/utility/passwordStrength.ts
@@ -46,7 +46,7 @@ export function checkPassword(password: string): number {
 		strength = 0;
 	}
 	
-	var entropyMap;
+	let entropyMap;
 	for (let i = 0; i < password.length; i++) {
 		if (entropyMap[password[i]]) entropyMap[password[i]]++;
 		else entropyMap[password[i]] = 1;