concrete/src/Job/Job.php
public static function authenticateRequest($auth)
    {
        // this is a little tricky. We have TWO ways of doing this
        // 1. Does the security token for jobs md5 correctly? If so, good.

        $val = \Core::make('config/database')->get('concrete.security.token.jobs') . ':' . DIRNAME_JOBS;
        if (md5($val) == $auth) {
            return true;
        }
    }
public static function authenticateRequest($auth)
    {
        // this is a little tricky. We have TWO ways of doing this
        // 1. Does the security token for jobs md5 correctly? If so, good.

        $val = \Core::make('config/database')->get('concrete.security.token.jobs') . ':' . DIRNAME_JOBS;
        if (md5($val) == $auth) {
            return true;
        }
    }
public static function authenticateRequest ( $ auth ) { // this is a little tricky. We have TWO ways of doing this // 1. Does the security token for jobs md5 correctly? If so, good. $ val = \ Core :: make ( 'config/database' ) -> get ( 'concrete.security.token.jobs' ) . ':' . DIRNAME_JOBS ; if ( md5 ( $ val ) == $ auth ) { return true ; } }
or from the dashboard
or from the dashboard