mirror of
https://github.com/Portabase/portabase.git
synced 2026-07-14 11:16:13 +02:00
Merge remote-tracking branch 'origin/main'
# Conflicts: # package.json
This commit is contained in:
@@ -14,13 +14,11 @@ export default async function Layout({children}: { children: React.ReactNode })
|
||||
email: user?.email
|
||||
}
|
||||
})
|
||||
|
||||
if(userInfo){
|
||||
if(userInfo && userInfo.authMethod){
|
||||
redirect('/dashboard')
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
return (
|
||||
<LayoutAdmin>
|
||||
<div
|
||||
|
||||
Reference in New Issue
Block a user