+ UI: checkboxes

F Login: Fixes scenario when credentials are incorrect
R UI: group -> refactors key processing
This commit is contained in:
2026-03-11 14:21:25 +02:00
parent e20a239ac6
commit 0bf2446664
14 changed files with 192 additions and 86 deletions
+3 -3
View File
@@ -62,13 +62,13 @@ int process_server_command(char *line, int l_len, app_t *app) {
}
/* LOGIN AGAIN */
if (!strncmp(line, "login_again>", ws_pos)) {
if (!strncmp(line, "login_again>\n", ws_pos)) {
alert("Incorrect credentials! Try again");
free(params->uname);
free(params->pass);
params->uname = NULL;
params->pass = NULL;
// get_missing_params(params);
write(q_args->sd, params->uname, strlen(params->uname));
q_args->state = S_ASK_LOGIN_USER;
return 0;
}