Base support for CAPTCHA (kocaptcha)
This commit is contained in:
parent
4b30ce64c9
commit
9303bd5d36
2 changed files with 23 additions and 1 deletions
|
@ -75,6 +75,18 @@
|
|||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="form-group" id="captcha-group">
|
||||
<template v-if="captcha.type == 'kocaptcha'">
|
||||
<img v-bind:src="captcha.url">
|
||||
|
||||
<label class='form--label' for='captcha-label'>CAPTCHA</label>
|
||||
|
||||
<input :disabled="isPending"
|
||||
v-model='captcha.solution'
|
||||
class='form-control' id='captcha-answer' type='text'>
|
||||
</template>
|
||||
</div>
|
||||
|
||||
<div class='form-group' v-if='token' >
|
||||
<label for='token'>{{$t('registration.token')}}</label>
|
||||
<input disabled='true' v-model='token' class='form-control' id='token' type='text'>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue