authserver/testCAS/app/Http/Middleware/CasAuthenticate.php
author rougeronj
Thu, 17 Sep 2015 18:19:30 +0200
changeset 151 bbf1f87578fe
parent 0 1afc9d2ab94d
permissions -rw-r--r--
fix style bug in IE: make the scroll bar overlay the content so it doesn't increase the width of the container and ruin the all the layout

<?php namespace TestCAS\Http\Middleware;

use Cas;
use Closure;

class CasAuthenticate
{
    /**
     * Handle an incoming request.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \Closure  $next
     * @return mixed
     */
    public function handle($request, Closure $next)
    {
        Cas::authenticate();
        return $next($request);
    }
}