Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

password_quality: Use zxcvbn keyboard layout graphs.

Anders Kaseorg8ac20e81ae04
diff --git a/web/src/password_quality.ts b/web/src/password_quality.ts
index f56e4e6af3b..75a087fbe91 100644
--- a/web/src/password_quality.ts
+++ b/web/src/password_quality.ts
@@ -10,6 +10,7 @@ zxcvbnOptions.setOptions({
...zxcvbnCommonPackage.dictionary,
...zxcvbnEnPackage.dictionary,
},
+ graphs: zxcvbnCommonPackage.adjacencyGraphs,
});
// Note: this module is loaded asynchronously from the app with