1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-02-05 17:54:03 +00:00

remove version check since v4 will be L9+

This commit is contained in:
Samuel Štancl 2022-09-29 15:58:53 +02:00
parent 9358819c24
commit b8a5516b4f

View file

@ -24,7 +24,7 @@ class CheckTenantForMaintenanceMode extends CheckForMaintenanceMode
return $this->bypassResponse($data['secret']);
}
if (version_compare($this->app->version(), '8.0.0', '>=') && $this->hasValidBypassCookie($request, $data) ||
if ($this->hasValidBypassCookie($request, $data) ||
$this->inExceptArray($request)) {
return $next($request);
}