This commit is contained in:
les
2019-09-11 19:12:24 +02:00
parent 93baf01a55
commit 2fe956d117
65 changed files with 762 additions and 721 deletions

View File

@@ -41,7 +41,7 @@ export default {
computed: {
...mapState(['settings']),
disabled () {
if (process.server) return false
if (process.server) { return false }
return !this.email || !this.password
}
},
@@ -49,7 +49,7 @@ export default {
...mapActions(['login']),
async forgot () {
if (!this.email) {
Message({ message: this.$t('login.insert_email'), showClose:true, type: 'error' })
Message({ message: this.$t('login.insert_email'), showClose: true, type: 'error' })
this.$refs.email.focus()
return
}