luci-base: send failed/successfull login to syslog
authorJan Pavlinec <jan.pavlinec@nic.cz>
Fri, 12 Mar 2021 15:24:52 +0000 (16:24 +0100)
committerJosef Schlehofer <pepe.schlehofer@gmail.com>
Fri, 3 Dec 2021 22:27:39 +0000 (23:27 +0100)
commitae0c92af2a1c6602b3d7dca1bfd60823195b7a8a
tree5f56a1f7bde6f404cd70486063e09c7dcc033199
parentf28aaa35cd5c0cbbe59d8cc6a67de88ceeac382e
luci-base: send failed/successfull login to syslog

Note: This change is relevant for systems that don't
use uhttpd for LuCI.
This log can be later used for fail2ban etc.

Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
(cherry picked from commit be8d749599a11229435141d85cfe5eba2dcf96d2)
modules/luci-base/luasrc/dispatcher.lua