drive-by
This commit is contained in:
parent
7b58a96ece
commit
90348c7da4
1 changed files with 1 additions and 1 deletions
|
|
@ -707,7 +707,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