From 3e0aa02f2051300fbe255c578ed2717a71b65954 Mon Sep 17 00:00:00 2001 From: Malf Furious Date: Fri, 26 Oct 2018 21:30:01 -0400 Subject: settings: Add log event when admin alters global settings Signed-off-by: Malf Furious --- app/model/settings.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'app/model') diff --git a/app/model/settings.php b/app/model/settings.php index a3afa0f..3293122 100644 --- a/app/model/settings.php +++ b/app/model/settings.php @@ -137,6 +137,8 @@ if (isAction("settings-admin")) if ($form->smtpPasswd != "") settings::smtpPasswd($form->smtpPasswd); + + $log = mesg::initNewAdminLog("%s changed global settings", $cu); } ?> -- cgit v1.2.3