Projects
Kolab:Winterfell
roundcubemail-plugins-kolab
0005-Don-t-ignore-global-userlogins-sendmail-lo...
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0005-Don-t-ignore-global-userlogins-sendmail-logging-in-p.patch of Package roundcubemail-plugins-kolab (Revision 61)
Currently displaying revision
61
,
Show latest
From 38e6afc90338def196f2d156825653a377f57c57 Mon Sep 17 00:00:00 2001 From: Aleksander Machniak <machniak@kolabsys.com> Date: Mon, 10 Jul 2017 16:35:42 +0200 Subject: [PATCH 5/8] Don't ignore (global) userlogins/sendmail logging in per_user_logging mode --- plugins/kolab_auth/kolab_auth.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/kolab_auth/kolab_auth.php b/plugins/kolab_auth/kolab_auth.php index 12e08169..f8628443 100644 --- a/plugins/kolab_auth/kolab_auth.php +++ b/plugins/kolab_auth/kolab_auth.php @@ -298,8 +298,8 @@ class kolab_auth extends rcube_plugin if (is_writable($user_log_dir)) { $args['dir'] = $user_log_dir; } - else if ($args['name'] != 'errors') { - $args['abort'] = true; // don't log if unauthenticed + else if (!in_array($args['name'], array('errors', 'userlogins', 'sendmail'))) { + $args['abort'] = true; // don't log if unauthenticed or no per-user log dir } } -- 2.13.2
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.