Test fix for password checking

pull/108/head
Ivan Dmitrievich Yartsev 11 months ago
parent 8d44c47f0e
commit 8bbc491a75

@ -1237,11 +1237,12 @@ void on_web_publish_accept(GtkWidget *, dictionary *dict){
yon_ubl_status_highlight_incorrect(window->UserPasswordEntry);
return;
}
if (username_check&&encryption&&!yon_char_is_empty(encryption)&&(strlen(user_password)!=128&&strlen(user_password)!=64)){
yon_ubl_status_box_spawn(GTK_CONTAINER(window->StatusBox),PASSWORD_RESTRICTED_SYMBOL_LABEL,5,BACKGROUND_IMAGE_FAIL_TYPE);
yon_ubl_status_highlight_incorrect(window->UserPasswordEntry);
return;
}
// if (username_check&&encryption&&!yon_char_is_empty(encryption)&&(strlen(user_password)!=128&&strlen(user_password)!=64)){
// yon_ubl_status_box_spawn(GTK_CONTAINER(window->StatusBox),PASSWORD_RESTRICTED_SYMBOL_LABEL,5,BACKGROUND_IMAGE_FAIL_TYPE);
// yon_ubl_status_highlight_incorrect(window->UserPasswordEntry);
// return;
// }
char *name = (char*)gtk_entry_get_text(GTK_ENTRY(window->PathEntry));
char *full_name = "";

Loading…
Cancel
Save