Update Login.vue

Correct own typo
This commit is contained in:
Hannes Heine 2021-12-11 06:17:45 +01:00 committed by GitHub
parent 83a2269a42
commit 508bb774de
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -106,7 +106,7 @@ export default {
})
.catch((error) => {
this.$toasted.global.error(this.$t('error.no-account'))
if (error.message.uncludes('User email not validated')) {
if (error.message.includes('User email not validated')) {
this.$router.push('/reset/login')
}
loader.hide()