mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-18 23:16:22 +00:00
Strip leading/trailing whitespace from result of eval_password
fixes #495
This commit is contained in:
@@ -154,6 +154,7 @@ cmd_connect(gchar **args, struct cmd_help_t help)
|
||||
cons_show("Error evaluating password, see logs for details.");
|
||||
return TRUE;
|
||||
}
|
||||
g_strstrip(account->password);
|
||||
} else {
|
||||
log_error("popen failed when running eval_password.");
|
||||
cons_show("Error evaluating password, see logs for details.");
|
||||
|
||||
Reference in New Issue
Block a user