[Ejabberd] Stop plain text password/user from being logged to file in auth.log. (#4087) (#4089)

master
Victor Nyberg 2021-05-06 14:56:05 +03:00 committed by GitHub
parent 834fb8a99d
commit b191190f6f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ use LeeSherwood\Ejabberd\CommandExecutors\mailcowCommandExecutor;
$logger = new Logger('ejabberdAuth'); $logger = new Logger('ejabberdAuth');
$stdoutHandler = new Monolog\Handler\StreamHandler('/var/www/authentication/auth.log', Logger::DEBUG); $stdoutHandler = new Monolog\Handler\StreamHandler('/var/www/authentication/auth.log', Logger::INFO);
$logger->pushHandler($stdoutHandler); $logger->pushHandler($stdoutHandler);