mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 19:54:04 +00:00
remove version check since v4 will be L9+
This commit is contained in:
parent
9358819c24
commit
b8a5516b4f
1 changed files with 1 additions and 1 deletions
|
|
@ -24,7 +24,7 @@ class CheckTenantForMaintenanceMode extends CheckForMaintenanceMode
|
||||||
return $this->bypassResponse($data['secret']);
|
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)) {
|
$this->inExceptArray($request)) {
|
||||||
return $next($request);
|
return $next($request);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue