Fixed error message

This commit is contained in:
kolaente 2018-09-06 20:17:39 +02:00
parent efb0088ebf
commit d60586b5ed
No known key found for this signature in database
GPG key ID: F40E70337AB24C9B

View file

@ -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.'
} }
} }
}) })