Thursday, March 1, 2018

how to set logout in laravel | laravel.

Auth::logout(); //(logout function)

           
  Session::flush(); // if above function give error then user this function

(Destroy all sessions)

No comments:

Post a Comment