feat: Admin Area General Settings and Categories 1.10
This commit is contained in:
@@ -69,7 +69,11 @@ export class AdminGeneralService {
|
||||
this.settings.set(SETTINGS_KEYS.DEFAULT_CHALLENGE_IP, payload.defaultChallengeIp),
|
||||
this.settings.set(SETTINGS_KEYS.REGISTRATIONS_ENABLED, payload.registrationsEnabled ? 'true' : 'false'),
|
||||
]);
|
||||
this.hub.emitEvent({ topic: 'general', themeKey: payload.themeKey });
|
||||
this.hub.emitEvent({
|
||||
topic: 'general',
|
||||
themeKey: payload.themeKey,
|
||||
registrationsEnabled: payload.registrationsEnabled,
|
||||
});
|
||||
return this.getSettings();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user