<?php
namespace AppHttpControllers;
use IlluminateHttpRequest;
use IlluminateSupportFacadesAuth;
use IlluminateSupportFacadesSession;
class LogoutController extends Controller
{
/**
* Log out account user.
*
* @return IlluminateRoutingRedirector
*/
public function perform()
{
Session::flush();
Auth::logout();
return redirect('login');
}
}