From 0a8860afd0e0d3d9243af526813d3c47e5b5f679 Mon Sep 17 00:00:00 2001 From: mertmit Date: Fri, 8 Sep 2023 15:52:26 +0300 Subject: [PATCH] fix: add token_version Signed-off-by: mertmit --- packages/nocodb/src/helpers/initAdminFromEnv.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/nocodb/src/helpers/initAdminFromEnv.ts b/packages/nocodb/src/helpers/initAdminFromEnv.ts index d6990379e2..4b71632eef 100644 --- a/packages/nocodb/src/helpers/initAdminFromEnv.ts +++ b/packages/nocodb/src/helpers/initAdminFromEnv.ts @@ -78,6 +78,7 @@ export default async function initAdminFromEnv(_ncMeta = Noco.ncMeta) { salt, password, email_verification_token, + token_version: randomTokenString(), roles, }, ncMeta, @@ -275,6 +276,7 @@ export default async function initAdminFromEnv(_ncMeta = Noco.ncMeta) { salt, password, email_verification_token, + token_version: randomTokenString(), roles, }, ncMeta,