Skip to content

Commit

Permalink
Merge pull request #105 from JacobSussan/develop
Browse files Browse the repository at this point in the history
fix honeypot field in login & register forms
  • Loading branch information
mlantz authored May 14, 2024
2 parents e367bfc + 9c4b59b commit df4cdd0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/View/Forms/LoginForm.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class LoginForm extends BaseForm
public function fields()
{
return [
HoneyPot::make(),
HoneyPot::make()->name('honeypot'),
Email::make('email')
->required()
->label('Email')
Expand Down
2 changes: 1 addition & 1 deletion app/View/Forms/RegistrationForm.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class RegistrationForm extends BaseForm
public function fields()
{
return [
HoneyPot::make(),
HoneyPot::make()->name('honeypot'),
Text::make('name', [
'required' => true,
'label' => 'Name',
Expand Down

0 comments on commit df4cdd0

Please sign in to comment.