Feat: Natively support NETIFY environment variables and improve MongoDB detection based on URI presence
This commit is contained in:
1 parent
eedaa588b5
commit
2be8b08074
8 files changed
+16
-16
No files matched your search
@@ -17,7 +17,7 @@ async function seedAuth() {
|
||||
password_hash: hash,
|
||||
account_name: 'BackOne Administrator',
|
||||
role: 'SUPER_ADMIN',
|
||||
site_uuid: process.env.BACKONE_SITE_UUID || null,
|
||||
site_uuid: process.env.BACKONE_SITE_UUID || process.env.NETIFY_SITE_UUID || null,
|
||||
agent_uuid: null,
|
||||
});
|
||||
console.log('[Auth] ✓ Default SUPER_ADMIN created: admin / admin');
|
||||
|
||||
Reference in new issue
Block a user