From 13509468ce773529537a4e61bf60e0b9800665c3 Mon Sep 17 00:00:00 2001 From: Ivan Yarcev Date: Wed, 26 Mar 2025 11:37:08 +0600 Subject: [PATCH] Test fix for USERSHADOW --- source/ubl-settings-usergroups-user.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/ubl-settings-usergroups-user.c b/source/ubl-settings-usergroups-user.c index 047864b..1b51851 100644 --- a/source/ubl-settings-usergroups-user.c +++ b/source/ubl-settings-usergroups-user.c @@ -517,13 +517,13 @@ void on_user_save(GtkWidget *self, dictionary *dict){ if (!yon_char_is_empty(window->old_username)&&strcmp(window->old_username,login)){ yon_config_remove_by_key(USERADD(window->old_username)); } - if (window->old_password&&strcmp(window->old_password,password)){ + // if (window->old_password&&strcmp(window->old_password,password)){ final_command = yon_config_parameter_prepare_command(dull_parameter_get_command,NULL,"users",USERSHADOW(login)); yon_config_register(USERSHADOW(login),final_command,shadow_string); if (!yon_char_is_empty(window->old_username)&&strcmp(window->old_username,login)){ yon_config_remove_by_key(USERSHADOW(window->old_username)); } - } + // } int home_delete = yon_char_parsed_check_exist(main_config.remove_homes,main_config.homes_size,login); if (home_delete>-1){ main_config.remove_homes = yon_char_parsed_rip(main_config.remove_homes,&main_config.homes_size,home_delete);