1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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

Discussion in 'Closed Suggestions' started by xf_phantom, Sep 3, 2013.

  1. xf_phantom

    xf_phantom Well-Known Member

    I think the title says everything necessary:p
    In XenForo_Error
    // 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
    $config['errorlog_censorfiels'] = array('UID''xxx');
    into the config file

Share This Page