diff options
author | Erkin Alp Güney <erkinalp9035@gmail.com> | 2022-04-12 20:10:30 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-12 20:10:30 +0300 |
commit | 0aa100c8e079c60dfee2524ba70775ef276d930f (patch) | |
tree | d1549ebc5562750303a4eadef148551ecdc16717 /api/src/util | |
parent | Fix compile errors in checkPassword's entropy check (diff) | |
download | server-0aa100c8e079c60dfee2524ba70775ef276d930f.tar.xz |
Update passwordStrength.ts
Diffstat (limited to 'api/src/util')
-rw-r--r-- | api/src/util/utility/passwordStrength.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/api/src/util/utility/passwordStrength.ts b/api/src/util/utility/passwordStrength.ts index f3960e48..439700d0 100644 --- a/api/src/util/utility/passwordStrength.ts +++ b/api/src/util/utility/passwordStrength.ts @@ -13,7 +13,7 @@ const blocklist: string[] = []; // TODO: update ones passwordblocklist is stored * - min <n> numbers * - min <n> symbols * - min <n> uppercase chars - * - shannon entropy divided by password entropy + * - shannon entropy folded into [0, 1) interval * * Returns: 0 > pw > 1 */ |