oauth basic

This commit is contained in:
xiaomlove
2024-03-08 03:35:41 +08:00
parent e653fdac6d
commit 08ef14a420
9 changed files with 86 additions and 6 deletions

View File

@@ -15,7 +15,7 @@ class NexusAuth extends Middleware
protected function redirectTo($request)
{
if (! $request->expectsJson()) {
return getSchemeAndHttpHost() . '/login.php';
return getBaseUrl() . '/login.php';
}
}
}