From 14cb317adfc232fe7e6d83b47626761190e28368 Mon Sep 17 00:00:00 2001 From: Stefan Ritt Date: Thu, 29 Sep 2011 11:17:07 +0000 Subject: [PATCH] Fixed missing user login time SVN revision: 2425 --- src/elogd.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/elogd.c b/src/elogd.c index aa38e96b..4689c893 100755 --- a/src/elogd.c +++ b/src/elogd.c @@ -26535,6 +26535,14 @@ void interprete(char *lbook, char *path) 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 (strcmp(path, css) != 0) { /* if no guest menu commands but self register, evaluate new user commands */