drive-by
This commit is contained in:
parent
1f20bd2f60
commit
47741a52e5
1 changed files with 1 additions and 1 deletions
|
|
@ -706,7 +706,7 @@ export const useUsersStore = defineStore('users', {
|
||||||
useOAuthStore().clearToken()
|
useOAuthStore().clearToken()
|
||||||
}
|
}
|
||||||
|
|
||||||
if (error.tatusCode === 401) {
|
if (error.statusCode === 401) {
|
||||||
throw new Error('Wrong username or password', error)
|
throw new Error('Wrong username or password', error)
|
||||||
} else {
|
} else {
|
||||||
throw new Error('An error occurred, please try again', error)
|
throw new Error('An error occurred, please try again', error)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue