Fix #750 , fix error messages and captcha resetting

This commit is contained in:
Shpuld Shpludson 2020-01-14 13:45:00 +00:00
parent ac90d4c532
commit 662afe973a
5 changed files with 18 additions and 7 deletions

View file

@ -63,7 +63,8 @@ const registration = {
await this.signUp(this.user)
this.$router.push({ name: 'friends' })
} catch (error) {
console.warn('Registration failed: ' + error)
console.warn('Registration failed: ', error)
this.setCaptcha()
}
}
},