diff options
author | Tomas Mraz <tmraz@redhat.com> | 2015-07-16 13:57:57 +0200 |
---|---|---|
committer | Tomas Mraz <tmraz@redhat.com> | 2015-07-16 13:57:57 +0200 |
commit | 81cd3fc9c56e5fa8dcc258aac8f1a84dd287b4fa (patch) | |
tree | bf54f557c72e18bf59a7ecab12ef15f39c6c1180 /src/pwqprivate.h | |
parent | b0810b9b2555fcf4870420688da8878260c0261c (diff) | |
download | libpwquality-81cd3fc9c56e5fa8dcc258aac8f1a84dd287b4fa.tar.gz |
Make the cracklib check optional - on by default.
Diffstat (limited to 'src/pwqprivate.h')
-rw-r--r-- | src/pwqprivate.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/pwqprivate.h b/src/pwqprivate.h index 692fae6..6b0e9e2 100644 --- a/src/pwqprivate.h +++ b/src/pwqprivate.h @@ -24,6 +24,7 @@ struct pwquality_settings { int max_class_repeat; int max_sequence; int gecos_check; + int dict_check; char *bad_words; char *dict_path; }; @@ -40,6 +41,7 @@ struct setting_mapping { #define PWQ_DEFAULT_UP_CREDIT 0 #define PWQ_DEFAULT_LOW_CREDIT 0 #define PWQ_DEFAULT_OTH_CREDIT 0 +#define PWQ_DEFAULT_DICT_CHECK 1 #define PWQ_TYPE_INT 1 #define PWQ_TYPE_STR 2 |