From 3a93e92c8b8ad5eed8bbdf4398faa22bdef48b4f Mon Sep 17 00:00:00 2001 From: Victor Gazotti Date: Thu, 1 Oct 2020 18:35:48 -0300 Subject: [PATCH] Add auth to the pre_resolved as default As many apps uses the **auth** instances, it could be usefull if auth was cleaned at every request as default. I do this change in every new installation of this package for example. --- config/swoole_http.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/swoole_http.php b/config/swoole_http.php index f73a2c59..150e680f 100644 --- a/config/swoole_http.php +++ b/config/swoole_http.php @@ -81,7 +81,7 @@ 'pre_resolved' => [ 'view', 'files', 'session', 'session.store', 'routes', 'db', 'db.factory', 'cache', 'cache.store', 'config', 'cookie', - 'encrypter', 'hash', 'router', 'translator', 'url', 'log', + 'encrypter', 'hash', 'router', 'translator', 'url', 'log', 'auth', ], /*