libpwquality/fix-password-similarity.patch
2019-09-30 10:57:44 -04:00

25 lines
605 B
Diff

From d0a20b9fa44fa39e8401eb1de57bce063bea007e Mon Sep 17 00:00:00 2001
From: cangyi <cangyi@huawei.com>
Date: Tue, 9 Apr 2019 04:58:14 -0400
---
src/pwqprivate.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/pwqprivate.h b/src/pwqprivate.h
index 4ac96a7..68cd087 100644
--- a/src/pwqprivate.h
+++ b/src/pwqprivate.h
@@ -37,7 +37,7 @@ struct setting_mapping {
int type;
};
-#define PWQ_DEFAULT_DIFF_OK 1
+#define PWQ_DEFAULT_DIFF_OK 5
#define PWQ_DEFAULT_MIN_LENGTH 8
#define PWQ_DEFAULT_DIG_CREDIT 0
#define PWQ_DEFAULT_UP_CREDIT 0
--
1.8.3.1