Remove isDemoApp option from frontend settings, should be a Laravel config\app option only

This commit is contained in:
Bubka 2020-03-18 14:34:24 +01:00
parent 0002973637
commit ab5948ee1d
3 changed files with 0 additions and 10 deletions

View File

@ -7,7 +7,6 @@
<form @submit.prevent="handleSubmit" @change="handleSubmit" @keydown="form.onKeydown($event)">
<form-select :options="options" :form="form" fieldName="lang" :label="$t('settings.forms.language.label')" :help="$t('settings.forms.language.help')" />
<form-switch :form="form" fieldName="showTokenAsDot" :label="$t('settings.forms.show_token_as_dot.label')" :help="$t('settings.forms.show_token_as_dot.help')" />
<form-switch :form="form" fieldName="isDemoApp" :label="$t('settings.forms.is_demo_app.label')" :help="$t('settings.forms.is_demo_app.help')" />
</form>
</form-wrapper>
</template>
@ -24,7 +23,6 @@
form: new Form({
lang: this.$root.$i18n.locale,
showTokenAsDot: appSettings.showTokenAsDot,
isDemoApp: appSettings.isDemoApp,
}),
options: [
{ text: this.$t('languages.en'), value: 'en' },

View File

@ -31,10 +31,6 @@
'label' => 'Show generated tokens as dot',
'help' => 'Replace generated token caracters with *** to ensure confidentiality. Do not affect the copy/paste feature.'
],
'is_demo_app' => [
'label' => 'Set the app as a demo',
'help' => 'If set to Yes, the app content (including the registered user) will be reset every hours. Use the \'demo\' user and \'demo\' password to connect to the app in demo mode.'
],
],

View File

@ -31,10 +31,6 @@
'label' => 'Masquer les codes générés',
'help' => 'Remplace les caractères des codes générés par des *** pour garantir leur confidentialité. N\'affecte pas la fonction copier/coller qui reste utilisable.'
],
'is_demo_app' => [
'label' => 'Activer le mode Démo',
'help' => 'Le mode Démo remet à zéro le contenu de l\'application (y compris l\'utilisateur enregistré) toutes les heures. Utilisez le compte \'demo\' et le mot de passe \'demo\' pour vous y connecter.'
],
],