xf_phantom
Well-known member
I think the title says everything necessary
In XenForo_Error
I'd like to censor some important & private userdata before they get saved in the db and get visible in the errorlog
Would be nice if i could insert something like
into the config file
In XenForo_Error
PHP:
// don't log passwords
foreach ($request['_POST'] AS $key => &$value) {
if (strpos($key, 'password') !== false || $key == '_xfToken') {
$value = '********';
}
}
I'd like to censor some important & private userdata before they get saved in the db and get visible in the errorlog
Would be nice if i could insert something like
PHP:
$config['errorlog_censorfiels'] = array('UID', 'xxx');
Upvote
0