Fixed bug im PAM authentication, thanks to SW

This commit is contained in:
2025-06-02 21:06:34 +02:00
parent 30ada1df63
commit 3de9c8bd28
+1 -1
View File
@@ -27565,7 +27565,7 @@ void interprete(char *lbook, const char *path)
#ifdef HAVE_PAM
/* save new user */
if (strieq(command, loc("Save")) && isparam("new_user_name") && !isparam("config")) {
save_user_config(NULL, getparam("new_user_name"), 1);
save_user_config(lbs, getparam("new_user_name"), 1);
redirect(lbs, "");
check_login(lbs, NULL);
return;