|
|
@@ -34,8 +34,11 @@ class serverLog {
|
|
|
}
|
|
|
|
|
|
private static function hidePassword($input) {
|
|
|
- return preg_replace("/('password'\s*=>\s*)'[^']*'/", "$1'####'", $input);
|
|
|
+ return preg_replace("/('password'\s*=>\s*)'[^']*'/", "$1'##PASSWORD##'", $input);
|
|
|
}
|
|
|
|
|
|
+ private static function hideEmail($input) {
|
|
|
+ return preg_replace("/('email'\s*=>\s*)'[^']*'/", "$1'##EMAIL##'", $input);
|
|
|
+ }
|
|
|
|
|
|
}
|