dimanche 14 juillet 2019

Session return to false via Middleware

I was able to check Auth::check() via controller before redirecting to my other route that needed to passthrough a middleware to check if the Auth::check() == true, however, when i'm trying to check the value of Auth::check() via my Middleware it returned a FALSE / NULL value. Any Idea guys ??

Did the following already:

  • Set session via ENV file to database
  • Tried using multiple Guard as i needed this feature. though for the sake of making it working first, i disabled the Guard setup.

enter image description here



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire