Monday, March 13, 2017

Unable to logout (cartalyst sentinel ) due to persistence session Laravel 5.4

    Actually I am working on a project that is used for web + mobile 
    application. 


    So my root domain is `app.test.in` and sub-domain is `api.test.in`. 
    For web application from my client side(app.test.in) create a request 
    sub-domain for login.

It is work fine and after that Sentinel::getUser() method returns data after that when I create a request for logout then Sentinel::getUser() method return null value.I set the domain value .test.in in session.php. I do not understand what going wrong.



via user3759885

Advertisement