samedi 18 juin 2016

Laravel 5.1 Auth not working on server while on local environment its doing right job

Laravel 5.1.35 authentication is not working after deploying on server. While on local environment its working fine.

As default successful login redirects to '/home' and in /home rout handler Auth::check() returns false.

Route::get( '/home', function () {
  var_dump(Auth::user()); 
} );

Above code prints bool(false);



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire