Working on settings. Adding .env value take in count when they are present in order to prefill the Settings on startup. Adding the SendEMail Feature and the form in settings.

This commit is contained in:
charles-gauthereau
2024-11-17 16:31:34 +01:00
parent ff9e3ffa67
commit 0de1c4daa2
24 changed files with 1701 additions and 66 deletions
+1 -3
View File
@@ -12,13 +12,11 @@ export default async function Layout({children}: { children: React.ReactNode })
email: user?.email
}
})
if(userInfo){
if(userInfo && userInfo.authMethod){
redirect('/dashboard')
}
}
return (
<LayoutAdmin>
<div