diff options
author | Tomas Mraz <tmraz@redhat.com> | 2013-06-19 17:17:35 +0200 |
---|---|---|
committer | Tomas Mraz <tmraz@redhat.com> | 2013-06-19 17:17:35 +0200 |
commit | 04c67ae63130e493ade9be0192779a8dc40c5328 (patch) | |
tree | 97b2b44710749f029cfaa62d0d0a8392163733c8 | |
parent | c303b8c484c3d967428649315f2972ad86d15f30 (diff) | |
download | libpwquality-04c67ae63130e493ade9be0192779a8dc40c5328.tar.gz |
Make it possible to set the maxsequence value.
-rw-r--r-- | src/settings.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/settings.c b/src/settings.c index 519dbda..a16a204 100644 --- a/src/settings.c +++ b/src/settings.c @@ -245,6 +245,9 @@ pwquality_set_int_value(pwquality_settings_t *pwq, int setting, int value) case PWQ_SETTING_MAX_CLASS_REPEAT: pwq->max_class_repeat = value; break; + case PWQ_SETTING_MAX_SEQUENCE: + pwq->max_sequence = value; + break; case PWQ_SETTING_GECOS_CHECK: pwq->gecos_check = value; break; |