mirror of
https://github.com/filegator/filegator.git
synced 2025-08-16 16:24:00 +02:00
new config guest_redirection added
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<div>
|
||||
<div v-if="!$store.state.config.guest_redirection">
|
||||
<a v-if="can('read')" id="back-arrow" @click="$router.push('/')">
|
||||
<b-icon icon="times" />
|
||||
</a>
|
||||
@@ -48,6 +48,10 @@ export default {
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
if (this.$store.state.config.guest_redirection) {
|
||||
window.location.href = this.$store.state.config.guest_redirection
|
||||
return
|
||||
}
|
||||
this.$refs.username.focus()
|
||||
},
|
||||
methods: {
|
||||
|
Reference in New Issue
Block a user