Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
U
uw_cfg_common
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
WCMS
uw_cfg_common
Commits
bb7836d2
Commit
bb7836d2
authored
4 years ago
by
Lily Yan
Browse files
Options
Downloads
Patches
Plain Diff
ISTWCMS-2953 Add hcaptcha as default challenge type
parent
afc17474
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
config/install/captcha.settings.yml
+2
-1
2 additions, 1 deletion
config/install/captcha.settings.yml
config/install/hcaptcha.settings.yml
+7
-0
7 additions, 0 deletions
config/install/hcaptcha.settings.yml
uw_cfg_common.info.yml
+2
-1
2 additions, 1 deletion
uw_cfg_common.info.yml
with
11 additions
and
2 deletions
config/install/captcha.settings.yml
+
2
−
1
View file @
bb7836d2
default_challenge
:
re
captcha/
reCAPTCHA
default_challenge
:
h
captcha/
hCaptcha
description
:
'
This
question
is
for
testing
whether
or
not
you
are
a
human
visitor
and
to
prevent
automated
spam
submissions.'
description
:
'
This
question
is
for
testing
whether
or
not
you
are
a
human
visitor
and
to
prevent
automated
spam
submissions.'
administration_mode
:
false
administration_mode
:
false
allow_on_admin_pages
:
false
allow_on_admin_pages
:
false
...
@@ -7,3 +7,4 @@ default_validation: 1
...
@@ -7,3 +7,4 @@ default_validation: 1
persistence
:
1
persistence
:
1
enable_stats
:
false
enable_stats
:
false
log_wrong_responses
:
false
log_wrong_responses
:
false
enabled_default
:
0
This diff is collapsed.
Click to expand it.
config/install/hcaptcha.settings.yml
0 → 100644
+
7
−
0
View file @
bb7836d2
site_key
:
'
6LfYahsUAAAAAOzd6l2BWgBrY4hLzJRluCzFLmy0'
secret_key
:
'
6LfYahsUAAAAANjnMFEhuWqzuBjrTLm4lPdVSveH'
hcaptcha_src
:
'
https://hcaptcha.com/1/api.js'
widget
:
theme
:
'
'
size
:
'
'
tabindex
:
0
This diff is collapsed.
Click to expand it.
uw_cfg_common.info.yml
+
2
−
1
View file @
bb7836d2
...
@@ -6,10 +6,11 @@ dependencies:
...
@@ -6,10 +6,11 @@ dependencies:
-
captcha
-
captcha
-
core_event_dispatcher
-
core_event_dispatcher
-
field_event_dispatcher
-
field_event_dispatcher
-
hcaptcha
-
hook_event_dispatcher
-
hook_event_dispatcher
-
layout_builder_modal
-
layout_builder_modal
-
layout_builder_restrictions
-
layout_builder_restrictions
-
layout_builder_styles
-
layout_builder_styles
-
recaptcha
-
preprocess_event_dispatcher
-
preprocess_event_dispatcher
-
recaptcha
-
user
-
user
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment