Fixed error message
This commit is contained in:
parent
efb0088ebf
commit
d60586b5ed
@ -38,7 +38,7 @@ export default {
|
||||
if (e.response) {
|
||||
context.error = e.response.data.message
|
||||
if (e.response.status === 401) {
|
||||
context.error = context.translate('login').wrong
|
||||
context.error = 'Wrong username or password.'
|
||||
}
|
||||
}
|
||||
})
|
||||
|
Loading…
x
Reference in New Issue
Block a user