diff -r 000000000000 -r 1afc9d2ab94d authserver/testCAS/app/Http/Controllers/HomeController.php --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/authserver/testCAS/app/Http/Controllers/HomeController.php Wed Apr 01 15:31:12 2015 +0200 @@ -0,0 +1,49 @@ +middleware('auth.cas'); + } + + /** + * Show the application dashboard to the user. + * + * @return Response + */ + public function index() + { + return view('home'); + } + + /** + * logout + * + * @return Response + */ + public function logout() + { + cas::logout(['service'=>url('/')]); + return redirect()->route('index'); + } + +}