We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 52462f8 commit 3975144Copy full SHA for 3975144
2 files changed
packages/next/src/pages/root.tsx
@@ -27,7 +27,7 @@ export async function RootPage(props: RootProps) {
27
if (result.requiredAuthentication) {
28
user = await getUser(props.serverFunction)
29
if (!user) {
30
- return <NotAuthorizedPage redirectURL="/admin/login" />
+ return <NotAuthorizedPage redirectURL="/admin/auth/login" />
31
}
32
33
packages/next/src/views/auth/login.client.tsx
@@ -31,7 +31,7 @@ export function LoginClientForm() {
return
34
- redirect('../collections/posts')
+ redirect('../collections')
35
36
37
return (
0 commit comments