mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-18 08:12:15 +00:00
- app logo extension fix
- redirect when user is logged in sign in/up page
This commit is contained in:
@@ -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'
|
||||
|
||||
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user