From 7e7915123c07c3b382e11d85c5f82a286ffab300 Mon Sep 17 00:00:00 2001 From: Ivan Yarcev Date: Fri, 23 May 2025 11:41:33 +0600 Subject: [PATCH] Test fix for web publish password --- source/ubl-settings-update.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/ubl-settings-update.c b/source/ubl-settings-update.c index c109c2f..9c1f5e8 100644 --- a/source/ubl-settings-update.c +++ b/source/ubl-settings-update.c @@ -1272,8 +1272,8 @@ void on_web_publish_accept(GtkWidget *, dictionary *dict){ enable_browser?"listing":"",":", port_enabled?port:"",":", username_check?username:"",":", - username_check?!yon_char_is_empty(user_password)?user_password:"":"",":", - username_check?yon_char_is_empty(encryption)?"":encryption:"", + username_check?yon_char_is_empty(encryption)?user_password:encryption:"",":", + username_check?!yon_char_is_empty(user_password)&&!yon_char_is_empty(encryption)?user_password:"":"", NULL); if (!yon_char_is_empty(window->name)&&strcmp(final_name,window->name)){ yon_config_remove_by_key(REPOPUBLIC_WEB_full(window->name));