update
This commit is contained in:
parent
38688b7065
commit
ba39f2595c
@ -10,6 +10,9 @@ class SubscriptionValid
|
||||
{
|
||||
public function handle(Request $request, Closure $next): Response
|
||||
{
|
||||
if (isInstanceAdmin()) {
|
||||
return $next($request);
|
||||
}
|
||||
if (!auth()->user() || !is_cloud()) {
|
||||
if ($request->path() === 'subscription') {
|
||||
return redirect('/');
|
||||
|
Loading…
x
Reference in New Issue
Block a user