mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-18 16:22:14 +00:00
prefilling user refactoring
This commit is contained in:
@@ -459,7 +459,7 @@ export default {
|
||||
this.$scrollTop()
|
||||
this.$store.commit('PROCESSING_POPUP', undefined)
|
||||
|
||||
if (this.config.isDemo || this.config.isDev) {
|
||||
if (this.config.isPrefilledUsers) {
|
||||
this.loginEmail = 'howdy@hi5ve.digital'
|
||||
this.loginPassword = 'vuefilemanager'
|
||||
}
|
||||
|
||||
@@ -278,7 +278,7 @@ export default {
|
||||
this.$router.push({name: 'Files'})
|
||||
}
|
||||
|
||||
if (this.config.isDemo || this.config.isDev) {
|
||||
if (this.config.isPrefilledUsers) {
|
||||
this.register = {
|
||||
name: 'John Doe',
|
||||
email: 'demo-' + Math.floor(Math.random() * 100000) + '@doe.com',
|
||||
|
||||
Reference in New Issue
Block a user