Don't ignore (global) userlogins/sendmail logging in per_user_logging mode
This commit is contained in:
parent
0c02d0d45c
commit
38e6afc903
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue