Browse Source

fix: property name correction

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/2393/head
Pranav C 2 years ago
parent
commit
09ae21b799
  1. 2
      packages/nocodb/src/lib/meta/api/userApi/initAdminFromEnv.ts

2
packages/nocodb/src/lib/meta/api/userApi/initAdminFromEnv.ts

@ -191,7 +191,7 @@ export default async function initAdminFromEnv(_ncMeta = Noco.ncMeta) {
} else {
const newPasswordHash = await promisify(bcrypt.hash)(
process.env.NC_ADMIN_PASSWORD,
superUser.hash
superUser.salt
);
if (newPasswordHash !== superUser.password) {

Loading…
Cancel
Save