feat(admin): added env var setting so only admin can create new users

This commit is contained in:
Daniel Gonzalez
2025-05-19 12:17:09 -04:00
parent af83c06b43
commit 05a0620663
6 changed files with 144 additions and 92 deletions
+7 -1
View File
@@ -150,7 +150,13 @@ export default {
// v2 Circuit Relay server (FullStack.cash)
// '/ip4/78.46.129.7/tcp/4001/p2p/12D3KooWFQ11GQ5NubsJGhYZ4X3wrAGimLevxfm6HPExCrMYhpSL'
]
],
// END IPFS CONFIGURATION
// Account Configuration
disableNewAccounts: process.env.DISABLE_NEW_ACCOUNTS ? true : false,
// Admin password
adminPassword: process.env.ADMIN_PASSWORD
}