Files
DirectAdmin-1.62.4/services/custombuild/patches/pma_auth_logging-4.8.patch.disabled
2025-11-12 20:19:03 +07:00

15 lines
639 B
Plaintext

--- libraries/classes/Logging.php.orig 2018-04-15 18:54:36.973996388 -0600
+++ libraries/classes/Logging.php 2018-04-15 19:03:09.094996350 -0600
@@ -51,9 +51,9 @@
public static function getLogMessage($user, $status)
{
if ($status == 'ok') {
- return 'user authenticated: ' . $user . ' from ' . Core::getIp();
+ return "user authenticated: '" . $user . "' from '" . Core::getIp() ."'";
}
- return 'user denied: ' . $user . ' (' . $status . ') from ' . Core::getIp();
+ return "user denied: '" . $user . "' (" . $status . ") from '" . Core::getIp() ."'";
}
/**