refactor: apply clippy let-chains and harden password validation

- Auto-fix 29 clippy warnings by converting nested if-lets to let-chains
- Harden password strength validator to reject restricted substrings
- Simplify rate_limiter state checks using is_none_or
- Improves idiomatic Rust style and overall security posture
This commit is contained in:
thakares committed 2026-08-07 19:48:25 +05:30
1 parent f2f615b456
commit b25a015898
17 files changed
+81 -109

No files matched your search

Generated
+1 -1
View File
@@ -1239,7 +1239,7 @@ dependencies = [
[[package]]
name = "nx9-auth"
version = "0.3.0"
version = "0.4.0"
dependencies = [
"anyhow",
"argon2",