[liboobs] Fix default value for 'password-disabled' property



commit 507ef6039fe0078c6ea2c4583c10e8f3855e1aaf
Author: Milan Bouchet-Valat <nalimilan club fr>
Date:   Mon Mar 8 22:30:12 2010 +0100

    Fix default value for 'password-disabled' property
    
    New users should be enabled when they have a password set.

 oobs/oobs-user.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/oobs/oobs-user.c b/oobs/oobs-user.c
index 08d578f..d7ff0a7 100644
--- a/oobs/oobs-user.c
+++ b/oobs/oobs-user.c
@@ -209,8 +209,8 @@ oobs_user_class_init (OobsUserClass *class)
 				   PROP_PASSWD_DISABLED,
 				   g_param_spec_boolean ("password-disabled",
 							 "Disabled account",
-							 "Whether user is allowed to log in",
-							 TRUE,
+							 "Whether user is forbidden logging in",
+							 FALSE,
 							 G_PARAM_READWRITE));
   g_object_class_install_property (object_class,
                                    PROP_ENCRYPTED_HOME,



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]