Add ALLOW_REGISTRATION flag and dynamic UI

This commit is contained in:
2026-01-15 06:30:48 +01:00
parent 3e474059f5
commit 7671bb05e4
5 changed files with 755 additions and 491 deletions
+5 -1
View File
@@ -37,4 +37,8 @@ export const securityConfig = {
usernameMinLength: 3,
commanderNameMinLength: 2,
maxNotesLength: 1000
}
}
export const registrationConfig = {
allowRegistration: process.env.ALLOW_REGISTRATION !== 'false'
}