mirror of
https://github.com/Bubka/2FAuth.git
synced 2025-03-30 18:26:14 +02:00
Remove isDemoApp option from frontend settings, should be a Laravel config\app option only
This commit is contained in:
parent
0002973637
commit
ab5948ee1d
@ -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' },
|
||||
|
@ -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.'
|
||||
],
|
||||
],
|
||||
|
||||
|
||||
|
@ -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.'
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user