Version 5.1 - All the GraphQL #32
@ -292,14 +292,14 @@ final class Dispatcher extends RoutingBase {
|
|||||||
'API request timed out',
|
'API request timed out',
|
||||||
'Failed to retrieve data from API (╯°□°)╯︵ ┻━┻');
|
'Failed to retrieve data from API (╯°□°)╯︵ ┻━┻');
|
||||||
}
|
}
|
||||||
finally
|
/* finally
|
||||||
{
|
{
|
||||||
// Log out on session/api token expiration
|
// Log out on session/api token expiration
|
||||||
Event::on(EventType::UNAUTHORIZED, static function () {
|
Event::on(EventType::UNAUTHORIZED, static function () {
|
||||||
$controllerName = DEFAULT_CONTROLLER;
|
$controllerName = DEFAULT_CONTROLLER;
|
||||||
(new $controllerName($this->container))->logout();
|
(new $controllerName($this->container))->logout();
|
||||||
});
|
});
|
||||||
}
|
} */
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -92,7 +92,6 @@ const SETTINGS_MAP = [
|
|||||||
'title' => 'Cache Type',
|
'title' => 'Cache Type',
|
||||||
'description' => 'The Cache backend',
|
'description' => 'The Cache backend',
|
||||||
'options' => [
|
'options' => [
|
||||||
'APCu' => 'apcu',
|
|
||||||
'Memcached' => 'memcached',
|
'Memcached' => 'memcached',
|
||||||
'Redis' => 'redis',
|
'Redis' => 'redis',
|
||||||
'No Cache' => 'null'
|
'No Cache' => 'null'
|
||||||
|
Loading…
Reference in New Issue
Block a user