Skip to content

Commit

Permalink
Add auth to the pre_resolved as default
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Arkanius authored Oct 1, 2020
1 parent 4167206 commit 3a93e92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/swoole_http.php
Original file line number Diff line number Diff line change
Expand Up @@ -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',
],

/*
Expand Down

0 comments on commit 3a93e92

Please sign in to comment.