Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
83496905
Commit
83496905
authored
Mar 08, 2022
by
Chad Woolley
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Clarify comment related to CAPTCHA modules
- Clarify when module json_format_actions_support.rb is used or not
parent
7aca51cc
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
app/controllers/concerns/spammable_actions/captcha_check/json_format_actions_support.rb
...able_actions/captcha_check/json_format_actions_support.rb
+6
-0
No files found.
app/controllers/concerns/spammable_actions/captcha_check/json_format_actions_support.rb
View file @
83496905
...
@@ -4,6 +4,12 @@
...
@@ -4,6 +4,12 @@
# In other words, forms handled by actions which use a `respond_to` of `format.js` or `format.json`.
# In other words, forms handled by actions which use a `respond_to` of `format.js` or `format.json`.
#
#
# For example, for all Javascript based form submissions and Vue components which use Apollo and Axios
# For example, for all Javascript based form submissions and Vue components which use Apollo and Axios
# which are directly handled by a controller other than `GraphqlController`. For example, issue
# update currently uses this module.
#
# However, requests which directly hit `GraphqlController` will not use this module - the
# `Mutations::SpamProtection` module handles those requests (for example, snippet create/update
# requests)
#
#
# If the request is handled by actions via `format.html`, then the corresponding module which
# If the request is handled by actions via `format.html`, then the corresponding module which
# supports HTML format should be used instead.
# supports HTML format should be used instead.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment