feat: Add demo mode with restricted user actions

This commit is contained in:
Maksim Eltyshev
2026-01-14 14:11:21 +01:00
parent 5636c2bb79
commit 1f4f439f4c
9 changed files with 19 additions and 5 deletions
+1
View File
@@ -63,6 +63,7 @@ module.exports.custom = {
storageLimit: envToBytes(process.env.STORAGE_LIMIT),
activeUserLimit: envToNumber(process.env.ACTIVE_USER_LIMIT),
customerPanelUrl: process.env.CUSTOMER_PANEL_URL,
demoMode: process.env.DEMO_MODE === 'true',
showDetailedAuthErrors: process.env.SHOW_DETAILED_AUTH_ERRORS === 'true',