Skip to content

Commit 162fab1

Browse files
authored
Add Honeypot config for hiding string
1 parent 7af80ea commit 162fab1

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

app/Config/Honeypot.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,14 @@ class Honeypot extends BaseConfig
1111
* @var boolean
1212
*/
1313
public $hidden = true;
14+
/**
15+
* Hide the Honypot. The default is style, but if the CSP is enabled, it is better to use class.
16+
* Example:
17+
* public $hiddenBy = 'class="hidden"';
18+
*
19+
* @var string
20+
*/
21+
public $hiddenBy = 'style="display:none"';
1422
/**
1523
* Honeypot Label Content
1624
*

0 commit comments

Comments
 (0)