mirror of
https://gitea.psi.ch/ELOG/elog.git
synced 2026-09-08 17:13:56 +00:00
Fixed bug im PAM authentication, thanks to SW
This commit is contained in:
parent
30ada1df63
commit
3de9c8bd28
@ -27565,7 +27565,7 @@ void interprete(char *lbook, const char *path)
|
|||||||
#ifdef HAVE_PAM
|
#ifdef HAVE_PAM
|
||||||
/* save new user */
|
/* save new user */
|
||||||
if (strieq(command, loc("Save")) && isparam("new_user_name") && !isparam("config")) {
|
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, "");
|
redirect(lbs, "");
|
||||||
check_login(lbs, NULL);
|
check_login(lbs, NULL);
|
||||||
return;
|
return;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user