diff options
| author | Henry Jameson <me@hjkos.com> | 2018-12-25 03:46:51 +0300 |
|---|---|---|
| committer | Henry Jameson <me@hjkos.com> | 2018-12-25 03:46:51 +0300 |
| commit | e3cac42cc78692f8f1ac267ef3209298ae03d527 (patch) | |
| tree | f99a73330218a1394f9ef2eab608f951d599bf7f /src/components/registration/registration.vue | |
| parent | a4f09029260100f6d5baea67ac333593c5c4432c (diff) | |
| parent | e59b67e119f1f598354fb0dca86774e1b0f6c4c4 (diff) | |
Merge remote-tracking branch 'upstream/develop' into push_fix
* upstream/develop:
Add a translation to the captcha strings in the registration form
Small UI improvements for the CAPTCHA field
Add encrypted captcha_answer_data for stateless captcha
fixes many problems related to user profile
Diffstat (limited to 'src/components/registration/registration.vue')
| -rw-r--r-- | src/components/registration/registration.vue | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/components/registration/registration.vue b/src/components/registration/registration.vue index f187e215..1455354e 100644 --- a/src/components/registration/registration.vue +++ b/src/components/registration/registration.vue @@ -76,15 +76,16 @@ </div> <div class="form-group" id="captcha-group" v-if="captcha.type != 'none'"> + <label class='form--label' for='captcha-label'>$t('captcha')</label> + <template v-if="captcha.type == 'kocaptcha'"> <img v-bind:src="captcha.url" v-on:click="setCaptcha"> - <sub>Click the image to get a new captcha</sub> - <label class='form--label' for='captcha-label'>CAPTCHA</label> + <sub>{{$t('registration.new_captcha')}}</sub> <input :disabled="isPending" v-model='captcha.solution' - class='form-control' id='captcha-answer' type='text'> + class='form-control' id='captcha-answer' type='text' autocomplete="off"> </template> </div> |
