✨ Super admin id staging
This commit is contained in:
parent
d7b67007c1
commit
8b0a683ddd
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user