mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
fixed frontend config value evaluation & default values for INVITE_REGISTRATION. Unified the way the config is accessed.
This commit is contained in:
parent
a37a9d05c8
commit
6584151a39
@ -87,7 +87,7 @@ const noEmailFilter = rule({
|
||||
return !('email' in args)
|
||||
})
|
||||
|
||||
const publicRegistration = rule()(() => !!CONFIG.PUBLIC_REGISTRATION)
|
||||
const publicRegistration = rule()(() => CONFIG.PUBLIC_REGISTRATION)
|
||||
|
||||
// Permissions
|
||||
export default shield(
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user