Skip to content

Commit

Permalink
make detect user default is false in config.php (#3)
Browse files Browse the repository at this point in the history
Co-authored-by: escode <e.hussein21@yahoo.com>
  • Loading branch information
es-code and escode authored Jan 4, 2021
1 parent 8741d32 commit ed700c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
],
//Note: if you enable detect user in exception larax will push StartSession::class and EncryptCookies::class in $middleware Kernel.php
//and you should be comment StartSession::class from $middlewareGroups => web
'detect_user'=>true,
'detect_user'=>false,
//array of guards names will use it for detect user id
'guards'=>['auth'],

Expand Down

0 comments on commit ed700c5

Please sign in to comment.