mirror of
https://github.com/Bubka/2FAuth.git
synced 2025-08-09 05:54:34 +02:00
Restore Demo flags
This commit is contained in:
3
resources/js/app.js
vendored
3
resources/js/app.js
vendored
@ -15,7 +15,8 @@ Vue.use(Notifications)
|
||||
const app = new Vue({
|
||||
el: '#app',
|
||||
data: {
|
||||
appSettings: window.appSettings
|
||||
appSettings: window.appSettings,
|
||||
isDemoApp: window.isDemoApp
|
||||
},
|
||||
i18n,
|
||||
router,
|
||||
|
@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<div>
|
||||
<kicker v-if="kickInactiveUser"></kicker>
|
||||
<div v-if="$root.appSettings.isDemoApp" class="demo has-background-warning has-text-centered is-size-7-mobile">
|
||||
<div v-if="this.$root.isDemoApp" class="demo has-background-warning has-text-centered is-size-7-mobile">
|
||||
{{ $t('commons.demo_do_not_post_sensitive_data') }}
|
||||
</div>
|
||||
<notifications width="100%" position="top" :duration="4000" :speed="0" :max="1" classes="notification is-radiusless" />
|
||||
|
@ -42,7 +42,7 @@
|
||||
data(){
|
||||
return {
|
||||
username: null,
|
||||
isDemo: this.$root.appSettings.isDemoApp,
|
||||
isDemo: this.$root.isDemoApp,
|
||||
form: new Form({
|
||||
email: '',
|
||||
password: ''
|
||||
|
Reference in New Issue
Block a user