Skip to content

Commit

Permalink
fix: add route prefix for login endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
warlof authored and Crypta-Eve committed Dec 24, 2023
1 parent 8d6c0b4 commit 8867254
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Http/Middleware/Authenticate.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class Authenticate extends Middleware
protected function redirectTo($request)
{
if (! $request->expectsJson()) {
return route('login');
return route('seatcore::auth.login');
}
}
}

0 comments on commit 8867254

Please sign in to comment.