shared page password error fix

This commit is contained in:
Peter Papp
2021-07-29 16:10:21 +02:00
parent 2d6f375c8b
commit cd39606905
2 changed files with 7 additions and 4 deletions

View File

@@ -76,9 +76,9 @@
})
.catch(error => {
if (error.response.status == 401)
if (error.response.status === 401)
this.$refs.authenticateProtected.setErrors({
'Password': [error.response.data.message]
'Password': [error.response.data]
});
})
.finally(() => {