dimanche 27 décembre 2015

Laravel 5.2: Auth::logout() is not working

I'm building a very simple app in Laravel 5.2, but when using AuthController's action to log out, it just simply doesn't work.

I did also try to add the follow action at the end of the AuthController.php file.

public function getLogout() { $this->auth->logout(); Session::flush(); return redirect('/'); }

Any ideas?



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/1Pq7zcj
via IFTTT

Aucun commentaire:

Enregistrer un commentaire