HOR-3851
This commit is contained in:
@@ -9,7 +9,7 @@ if (! empty($_GET['error'])) {
|
||||
|
||||
$http = G::is_https() ? 'https' : 'http';
|
||||
$host = $_SERVER['SERVER_NAME'] . ($_SERVER['SERVER_PORT'] != '80' ? ':' . $_SERVER['SERVER_PORT'] : '');
|
||||
$endpoint = sprintf('%s://%s/%s/oauth2/token', $http, $host, SYS_SYS);
|
||||
$endpoint = sprintf('%s://%s/%s/oauth2/token', $http, $host, config("sys_sys"));
|
||||
$code = empty($_GET['code']) ? 'NN' : $_GET['code'];
|
||||
|
||||
$clientId = 'x-pm-local-client';
|
||||
|
||||
Reference in New Issue
Block a user