diff --git a/frontend/src/components/Controls/CodeEditor.vue b/frontend/src/components/Controls/CodeEditor.vue index cbb10b83..32ae86ed 100644 --- a/frontend/src/components/Controls/CodeEditor.vue +++ b/frontend/src/components/Controls/CodeEditor.vue @@ -146,7 +146,6 @@ function resetEditor(value: string, resetHistory = false) { value = getModelValue() aceEditor?.setValue(value) aceEditor?.clearSelection() - console.log(isDark.value) aceEditor?.setTheme(isDark.value ? 'ace/theme/twilight' : 'ace/theme/chrome') props.autofocus && aceEditor?.focus() if (resetHistory) { diff --git a/frontend/src/components/Modals/Settings.vue b/frontend/src/components/Modals/Settings.vue index fb9aaff7..290416a8 100644 --- a/frontend/src/components/Modals/Settings.vue +++ b/frontend/src/components/Modals/Settings.vue @@ -328,19 +328,26 @@ const tabsStructure = computed(() => { icon: 'LogIn', fields: [ { - label: 'Custom Content', + label: 'Identify User Persona', + name: 'user_category', + type: 'checkbox', + description: + 'Enable this option to identify the user persona during signup.', + }, + { + label: 'Disable signup', + name: 'disable_signup', + type: 'checkbox', + description: + 'New users will have to be manually registered by Admins.', + }, + { + label: 'Signup Consent HTML', name: 'custom_signup_content', type: 'Code', mode: 'htmlmixed', rows: 10, }, - { - label: 'Ask for Occupation', - name: 'user_category', - type: 'checkbox', - description: - 'Enable this option to ask users to select their occupation during the signup process.', - }, ], }, ], diff --git a/frontend/src/components/SettingFields.vue b/frontend/src/components/SettingFields.vue index aa032489..10882f87 100644 --- a/frontend/src/components/SettingFields.vue +++ b/frontend/src/components/SettingFields.vue @@ -99,7 +99,7 @@