aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEkaterina Vaartis <vaartis@cock.li>2018-12-21 00:25:36 +0300
committerEkaterina Vaartis <vaartis@cock.li>2018-12-21 00:25:36 +0300
commit661efc51b79012c48cfb63748e0adb4b71f4517b (patch)
tree95c41991ecee8dee7586406c253c5f4986968551 /src
parent8470856045d2eef0ced9115bfe994a280c88c919 (diff)
Small UI improvements for the CAPTCHA field
Diffstat (limited to 'src')
-rw-r--r--src/components/registration/registration.vue5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/components/registration/registration.vue b/src/components/registration/registration.vue
index f187e215..785d691a 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'>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>
<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>