From 8b0a683ddd9ec32dd3ce5c73c9b8124485be595c Mon Sep 17 00:00:00 2001 From: Maxime Lalo Date: Wed, 26 Jul 2023 15:29:43 +0200 Subject: [PATCH] :sparkles: Super admin id staging --- src/front/Components/Layouts/Login/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/front/Components/Layouts/Login/index.tsx b/src/front/Components/Layouts/Login/index.tsx index b4c10d64..977c4138 100644 --- a/src/front/Components/Layouts/Login/index.tsx +++ b/src/front/Components/Layouts/Login/index.tsx @@ -18,7 +18,7 @@ export default function Login() { const redirectUserOnConnection = useCallback(() => { async function getUser() { try { - await UserStore.instance.connect(process.env["NEXT_PUBLIC_ADMIN_ID"] as string); + await UserStore.instance.connect("jelkvelknvlkn"); await JwtService.getInstance().checkJwt(); router.push(Module.getInstance().get().modules.pages.Folder.props.path); } catch (e) {