summary refs log tree commit diff
path: root/api/src/util
diff options
context:
space:
mode:
authorErkin Alp Güney <erkinalp9035@gmail.com>2022-04-12 20:10:30 +0300
committerGitHub <noreply@github.com>2022-04-12 20:10:30 +0300
commit0aa100c8e079c60dfee2524ba70775ef276d930f (patch)
treed1549ebc5562750303a4eadef148551ecdc16717 /api/src/util
parentFix compile errors in checkPassword's entropy check (diff)
downloadserver-0aa100c8e079c60dfee2524ba70775ef276d930f.tar.xz
Update passwordStrength.ts
Diffstat (limited to 'api/src/util')
-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 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
  */