Fix #750 , fix error messages and captcha resetting
This commit is contained in:
parent
ac90d4c532
commit
662afe973a
5 changed files with 18 additions and 7 deletions
|
@ -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()
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
|
@ -170,7 +170,7 @@
|
|||
<label
|
||||
class="form--label"
|
||||
for="captcha-label"
|
||||
>{{ $t('captcha') }}</label>
|
||||
>{{ $t('registration.captcha') }}</label>
|
||||
|
||||
<template v-if="['kocaptcha', 'native'].includes(captcha.type)">
|
||||
<img
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue