Super admin id staging

This commit is contained in:
Maxime Lalo 2023-07-26 15:29:43 +02:00
parent d7b67007c1
commit 8b0a683ddd

View File

@ -18,7 +18,7 @@ export default function Login() {
const redirectUserOnConnection = useCallback(() => { const redirectUserOnConnection = useCallback(() => {
async function getUser() { async function getUser() {
try { try {
await UserStore.instance.connect(process.env["NEXT_PUBLIC_ADMIN_ID"] as string); await UserStore.instance.connect("jelkvelknvlkn");
await JwtService.getInstance().checkJwt(); await JwtService.getInstance().checkJwt();
router.push(Module.getInstance().get().modules.pages.Folder.props.path); router.push(Module.getInstance().get().modules.pages.Folder.props.path);
} catch (e) { } catch (e) {