Fix redirect route in DecideWhatToDoWithUser middleware
This commit is contained in:
parent
019887739c
commit
32dbdf5204
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue