Handle password generation using pw instead of liboobs so the password
encryption algorithm is properly respected. PR: 112218 Submitted by: Sergio Lenzi <lenzi@k1.com.br>
This commit is contained in:
parent
8fa633153d
commit
68c9f71f4f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=191091
@ -7,6 +7,7 @@
|
||||
|
||||
PORTNAME= gnome-system-tools
|
||||
PORTVERSION= 2.18.1
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= sysutils gnome
|
||||
MASTER_SITES= ${MASTER_SITE_GNOME}
|
||||
MASTER_SITE_SUBDIR= sources/gnome-system-tools/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}
|
||||
|
@ -0,0 +1,15 @@
|
||||
--- src/users/user-settings.c.orig Sun Apr 22 23:32:58 2007
|
||||
+++ src/users/user-settings.c Sun Apr 22 23:34:18 2007
|
||||
@@ -632,10 +632,10 @@
|
||||
password_changed = GPOINTER_TO_INT (g_object_get_data (G_OBJECT (widget), "changed"));
|
||||
|
||||
if (password_changed)
|
||||
- oobs_user_set_password (user, gtk_entry_get_text (GTK_ENTRY (widget)));
|
||||
+ oobs_user_set_crypted_password (user, gtk_entry_get_text (GTK_ENTRY (widget)));
|
||||
} else {
|
||||
widget = gst_dialog_get_widget (tool->main_dialog, "user_settings_random_passwd");
|
||||
- oobs_user_set_password (user, gtk_entry_get_text (GTK_ENTRY (widget)));
|
||||
+ oobs_user_set_crypted_password (user, gtk_entry_get_text (GTK_ENTRY (widget)));
|
||||
}
|
||||
|
||||
group = get_main_group (oobs_user_get_login_name (user));
|
Loading…
Reference in New Issue
Block a user