mirror of
https://github.com/Bubka/2FAuth.git
synced 2025-03-15 07:28:30 +01:00
Add headings to App Setup view
This commit is contained in:
parent
f398768f4e
commit
444b110c05
@ -36,14 +36,13 @@
|
||||
<FormWrapper>
|
||||
<form>
|
||||
<h4 class="title is-4 pt-4 has-text-grey-light">{{ $t('settings.general') }}</h4>
|
||||
<div class="block has-text-grey">
|
||||
<p class="mb-2">{{ $t('admin.administration_legend') }}</p>
|
||||
</div>
|
||||
<!-- Check for update -->
|
||||
<FormCheckbox v-model="appSettings.checkForUpdate" @update:model-value="val => saveSetting('checkForUpdate', val)" fieldName="checkForUpdate" label="commons.check_for_update" help="commons.check_for_update_help" />
|
||||
<VersionChecker />
|
||||
<h4 class="title is-4 pt-4 has-text-grey-light">{{ $t('settings.security') }}</h4>
|
||||
<!-- protect db -->
|
||||
<FormCheckbox v-model="appSettings.useEncryption" @update:model-value="val => saveSetting('useEncryption', val)" fieldName="useEncryption" label="admin.forms.use_encryption.label" help="admin.forms.use_encryption.help" />
|
||||
<h4 class="title is-4 pt-4 has-text-grey-light">{{ $t('admin.registrations') }}</h4>
|
||||
<!-- disable registration -->
|
||||
<FormCheckbox v-model="appSettings.disableRegistration" @update:model-value="val => saveSetting('disableRegistration', val)" fieldName="disableRegistration" label="admin.forms.disable_registration.label" help="admin.forms.disable_registration.help" />
|
||||
<!-- disable SSO registration -->
|
||||
|
@ -15,6 +15,7 @@
|
||||
|
||||
'admin' => 'Admin',
|
||||
'app_setup' => 'App setup',
|
||||
'registrations' => 'Registrations',
|
||||
'users' => 'Users',
|
||||
'users_legend' => 'Manage users registered on your instance or create new ones.',
|
||||
'admin_settings' => 'Admin settings',
|
||||
|
Loading…
Reference in New Issue
Block a user