diff options
author | Ondrej Holy <oholy@redhat.com> | 2013-06-18 15:16:51 +0200 |
---|---|---|
committer | Ondrej Holy <oholy@redhat.com> | 2013-07-30 14:52:57 +0200 |
commit | 596908c5d382d0fe1c6b1aee8349ed22aafa18c3 (patch) | |
tree | 6102f14b77815b6712477aa84f16b5ebc3f4b4d2 | |
parent | 7e62ec47ce7be035a1f873b1b5c96b2d4c098650 (diff) | |
download | gnome-control-center-596908c5d382d0fe1c6b1aee8349ed22aafa18c3.tar.gz |
user-accounts: Enable checking for seqences in password
Bump libpwquality version to 1.2.2.
ttps://bugzilla.gnome.org/show_bug.cgi?id=702474
-rw-r--r-- | configure.ac | 2 | ||||
-rw-r--r-- | panels/user-accounts/pw-utils.c | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index e233bad62..3bd6d3140 100644 --- a/configure.ac +++ b/configure.ac @@ -102,7 +102,7 @@ GOA_REQUIRED_VERSION=3.9.1 ACCOUNTSSERVICE_REQUIRED_VERSION=0.6.30 COLORD_REQUIRED_VERSION=0.1.34 COLORD_GTK_REQUIRED_VERSION=0.1.24 -PWQAULITY_REQUIRED_VERSION=1.2.0 +PWQAULITY_REQUIRED_VERSION=1.2.2 COMMON_MODULES="gtk+-3.0 >= $GTK_REQUIRED_VERSION glib-2.0 >= $GLIB_REQUIRED_VERSION diff --git a/panels/user-accounts/pw-utils.c b/panels/user-accounts/pw-utils.c index 042490286..88e0be1b1 100644 --- a/panels/user-accounts/pw-utils.c +++ b/panels/user-accounts/pw-utils.c @@ -36,6 +36,7 @@ get_pwq (void) if (settings == NULL) { gchar *err = NULL; settings = pwquality_default_settings (); + pwquality_set_int_value (settings, PWQ_SETTING_MAX_SEQUENCE, 4); if (pwquality_read_config (settings, NULL, (gpointer)&err) < 0) { g_error ("failed to read pwquality configuration: %s\n", err); } |