Fixed error message
This commit is contained in:
parent
efb0088ebf
commit
d60586b5ed
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@ export default {
|
||||||
if (e.response) {
|
if (e.response) {
|
||||||
context.error = e.response.data.message
|
context.error = e.response.data.message
|
||||||
if (e.response.status === 401) {
|
if (e.response.status === 401) {
|
||||||
context.error = context.translate('login').wrong
|
context.error = 'Wrong username or password.'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in a new issue