diff --git a/src/api/util/utility/passwordStrength.ts b/src/api/util/utility/passwordStrength.ts index 8f48a817..ac6eeca1 100644 --- a/src/api/util/utility/passwordStrength.ts +++ b/src/api/util/utility/passwordStrength.ts @@ -101,10 +101,5 @@ export function checkPassword(password: string): number { } strength += calculateEntropy(password); - // Strength should between 0 and 1??? (am I wrong?) - // Normalize the strength score to the range [0, 1] - const MAX_STRENGTH = 2.0; // Maximum possible strength score - strength = strength / MAX_STRENGTH; - return strength; }