mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-04 05:34:04 +00:00
Delete redundant universal route check from prevent access MW
The PreventAcessFromUnwantedDomains MW had the routeIsUniversal check either for returning early, or it was a leftover from some older implementation.
This commit is contained in:
parent
e3701f1cc1
commit
6133c7cbe6
1 changed files with 1 additions and 1 deletions
|
|
@ -31,7 +31,7 @@ class PreventAccessFromUnwantedDomains
|
||||||
{
|
{
|
||||||
$route = tenancy()->getRoute($request);
|
$route = tenancy()->getRoute($request);
|
||||||
|
|
||||||
if ($this->shouldBeSkipped($route) || tenancy()->routeIsUniversal($route)) {
|
if ($this->shouldBeSkipped($route)) {
|
||||||
return $next($request);
|
return $next($request);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue