dimanche 1 octobre 2017

Route subdomain keeping the user logged in for subdomains

So I have a sub-domain, let's say for example:

Route::domain('test.localhost')
    ->group(function () {

    Route::resource('test', 'Wallet\WalletController');

});

If my user is logged in a http://localhost but visits the test.localhost, it redirects them to the login page. Is it possible to keep the user logged in for sub-domains too?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire