Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
workflow_buttons
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
workflow_buttons
Commits
96e0a4db
Commit
96e0a4db
authored
1 year ago
by
Bob McDonald
Committed by
Benjamin Melançon
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
Issue
#3392277
by ultrabob, mlncn: Pseudofield doesn't work with Antibot and Honeypot
parent
6a86da6f
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
workflow_buttons.module
+3
-0
3 additions, 0 deletions
workflow_buttons.module
with
3 additions
and
0 deletions
workflow_buttons.module
+
3
−
0
View file @
96e0a4db
...
...
@@ -38,6 +38,9 @@ function workflow_buttons_form_alter(&$form, FormStateInterface $form_state, $fo
'moderation_state'
,
'form_token'
,
'form_id'
,
'antibot_key'
,
'antibot_no_js'
,
'honeypot_time'
];
foreach
(
$form
as
$key
=>
$value
)
{
if
(
!
str_starts_with
(
$key
,
'#'
)
&&
!
in_array
(
$key
,
$form_elements_keep_list
))
{
...
...
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