more on oauth
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user