more on oauth

This commit is contained in:
les
2020-01-21 17:33:33 +01:00
parent 3269857f7b
commit 019ca8022e
7 changed files with 55 additions and 22 deletions

View File

@@ -66,8 +66,6 @@ export default {
try {
this.loading = true
await this.$auth.loginWith('local', { data: { email: this.email, password: this.password } })
// const user = await this.$axios.$get('/auth/user')
// this.$auth.setUser(user)
this.loading = false
Message({ message: this.$t('login.ok'), showClose: true, type: 'success' })
this.close()