Add support for recaptcha during the create account flow
If the feature is enabled and recaptcha keys are given in config, then a recaptcha box is displayed in the UI when creating a user and a recaptcha response code *must* be sent with the create API call for it to succeed.
This commit is contained in:
parent
e58e04b0e9
commit
3eb17b7caa
12 changed files with 88 additions and 1 deletions
|
@ -10,4 +10,24 @@
|
|||
|
||||
.signup-form-element input {
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.signup-form-element .captcha {
|
||||
display: block;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.signup-form-element .captcha div {
|
||||
display: inline-block;
|
||||
margin: 2px;
|
||||
}
|
||||
|
||||
.signup-form-element .captcha {
|
||||
height: 0px;
|
||||
transition: height ease-in-out 250ms;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.user-setup-element .captcha.expanded {
|
||||
height: 94px;
|
||||
}
|
Reference in a new issue