mirror of
https://gitea.psi.ch/ELOG/elog.git
synced 2026-09-12 19:33:03 +00:00
Fixed missing user login time
SVN revision: 2425
This commit is contained in:
parent
52aed3b736
commit
14cb317adf
@ -26535,6 +26535,14 @@ void interprete(char *lbook, char *path)
|
|||||||
setparam("unm", uname);
|
setparam("unm", uname);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* set access time for user */
|
||||||
|
if (uname[0] && !isparam("new_user_name")) {
|
||||||
|
if (!set_user_login_time(lbs, uname)) {
|
||||||
|
show_error(loc("File system full, ELOG cannot continue to work"));
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (!(getcfg(lbs->name, "Guest menu commands", str, sizeof(str)) && !isparam("fail"))) {
|
if (!(getcfg(lbs->name, "Guest menu commands", str, sizeof(str)) && !isparam("fail"))) {
|
||||||
if (strcmp(path, css) != 0) {
|
if (strcmp(path, css) != 0) {
|
||||||
/* if no guest menu commands but self register, evaluate new user commands */
|
/* if no guest menu commands but self register, evaluate new user commands */
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user