app/Http/Controllers/AdminAuth/LoginController.php
/**
     * Log the user out of the application.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return \Illuminate\Http\Response
     */
Log the user out of the application.
Log the user out of the application .
public function logout(Request $request)
    {
        $this->guard()->logout();
        $request->session()->flush();
        $request->session()->regenerate();
        return redirect('/admin/entrar');
    }
public function logout ( Request $ request ) { $ this -> guard ( ) -> logout ( ) ; $ request -> session ( ) -> flush ( ) ; $ request -> session ( ) -> regenerate ( ) ; return redirect ( '/admin/entrar' ) ; }
Log the user out of the application.
Log the user out of the application .