Lack of interest New config entry to define non loggable error log POST fields

This suggestion has been closed automatically because it did not receive enough votes over an extended period of time. If you wish to see this, please search for an open suggestion and, if you don't find any, post a new one.

xf_phantom

Well-known member
I think the title says everything necessary:p
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');
into the config file
 
Upvote 0
This suggestion has been closed. Votes are no longer accepted.
Back
Top Bottom