Remove APCu as a cache option...it doesn't work with CLI authentication
This commit is contained in:
parent
3ecccb6ad8
commit
21a98dc48e
@ -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