PK �@]�M�,. . EncryptCookies.phpnu �Iw�� <?php
namespace QxCMS\Http\Middleware;
use Illuminate\Cookie\Middleware\EncryptCookies as BaseEncrypter;
class EncryptCookies extends BaseEncrypter
{
/**
* The names of the cookies that should not be encrypted.
*
* @var array
*/
protected $except = [
//
];
}
PK �@]�,�
RedirectIfAuthenticated.phpnu �Iw�� <?php
namespace QxCMS\Http\Middleware;
use Closure;
use Illuminate\Support\Facades\Auth;
class RedirectIfAuthenticated
{
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @param string|null $guard
* @return mixed
*/
public function handle($request, Closure $next, $guard = null)
{
if (Auth::guard($guard)->check()) {
return redirect('/home');
}
return $next($request);
}
}
PK �@]��c > > VerifyCsrfToken.phpnu �Iw�� <?php
namespace QxCMS\Http\Middleware;
use Illuminate\Foundation\Http\Middleware\VerifyCsrfToken as BaseVerifier;
class VerifyCsrfToken extends BaseVerifier
{
/**
* The URIs that should be excluded from CSRF verification.
*
* @var array
*/
protected $except = [
'api/*'
];
}
PK �@]�M�,. . EncryptCookies.phpnu �Iw�� PK �@]�,�
p RedirectIfAuthenticated.phpnu �Iw�� PK �@]��c > > � VerifyCsrfToken.phpnu �Iw�� PK I