App\Modules\System\Controllers\Authorize::logout PHP Méthode

logout() public méthode

Handle a GET request to logout the current User.
public logout ( ) : Response
Résultat Response
    public function logout()
    {
        Auth::logout();
        // Prepare the flash message.
        $status = __d('system', 'You have successfully logged out.');
        return Redirect::to('login')->withStatus($status);
    }