Fix redirect route in DecideWhatToDoWithUser middleware
This commit is contained in:
parent
019887739c
commit
32dbdf5204
@ -25,7 +25,7 @@ public function handle(Request $request, Closure $next): Response
|
||||
if ($request->path() === 'verify' || in_array($request->path(), allowedPathsForInvalidAccounts()) || $request->routeIs('verify.verify')) {
|
||||
return $next($request);
|
||||
}
|
||||
return redirect()-route('verify.email');
|
||||
return redirect()->route('verify.email');
|
||||
}
|
||||
if (!isSubscriptionActive() && !isSubscriptionOnGracePeriod()) {
|
||||
if (!in_array($request->path(), allowedPathsForUnsubscribedAccounts())) {
|
||||
|
Loading…
Reference in New Issue
Block a user