diff --git a/src/elogd.c b/src/elogd.c index 846ee32c..6c02ef3e 100755 --- a/src/elogd.c +++ b/src/elogd.c @@ -24454,6 +24454,12 @@ void interprete(char *lbook, char *path) /* check if command in menu list */ if (!is_command_allowed(lbs, command)) { + /* redirect to login page for new command */ + if (strieq(command, loc("New")) && !isparam("unm")) { + check_user_password(lbs, "", "", _cmdline); + return; + } + sprintf(str, loc("Error: Command \"%s\" not allowed"), command); show_error(str); return;