Add auto-lock option

This commit is contained in:
Bubka
2020-10-08 15:38:36 +02:00
parent 07df0cd5e0
commit 9b34159c4c
14 changed files with 266 additions and 17 deletions

View File

@ -1,5 +1,6 @@
<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">
{{ $t('commons.demo_do_not_post_sensitive_data') }}
</div>
@ -17,6 +18,14 @@
data(){
return {
}
},
computed: {
kickInactiveUser: function () {
return parseInt(this.$root.appSettings.kickUserAfter) > 0 && this.$route.meta.requiresAuth
}
}
}
</script>