✨ Add allow anonymous switch
This commit is contained in:
@@ -36,5 +36,11 @@ export const getConfig = (name: string): BackendConfigType => {
|
||||
writeConfig(backendConfig);
|
||||
}
|
||||
|
||||
if (!backendConfig.settings.access) {
|
||||
backendConfig.settings.access = {
|
||||
allowGuests: false,
|
||||
};
|
||||
}
|
||||
|
||||
return backendConfig;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user