Add ALLOW_REGISTRATION flag and dynamic UI
This commit is contained in:
@@ -37,4 +37,8 @@ export const securityConfig = {
|
||||
usernameMinLength: 3,
|
||||
commanderNameMinLength: 2,
|
||||
maxNotesLength: 1000
|
||||
}
|
||||
}
|
||||
|
||||
export const registrationConfig = {
|
||||
allowRegistration: process.env.ALLOW_REGISTRATION !== 'false'
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user