- app logo extension fix

- redirect when user is logged in sign in/up page
This commit is contained in:
Čarodej
2022-03-25 16:48:15 +01:00
parent c5810e962b
commit 43f2a43d6c
4 changed files with 81 additions and 71 deletions

View File

@@ -447,6 +447,11 @@ export default {
this.$scrollTop()
this.$store.commit('PROCESSING_POPUP', undefined)
// Redirect if user is authenticated
if (this.$root.$data.config.isAuthenticated) {
this.$router.push({name: 'Files'})
}
if (this.config.isDemo || this.config.isDev) {
this.loginEmail = 'howdy@hi5ve.digital'
this.loginPassword = 'vuefilemanager'

View File

@@ -267,6 +267,11 @@ export default {
created() {
this.$scrollTop()
// Redirect if user is authenticated
if (this.$root.$data.config.isAuthenticated) {
this.$router.push({name: 'Files'})
}
if (this.config.isDemo || this.config.isDev) {
this.register = {
name: 'John Doe',