Skip to content

Commit

Permalink
fix captcha register and order
Browse files Browse the repository at this point in the history
  • Loading branch information
Philippe committed Dec 30, 2020
1 parent f737d00 commit 425b2e1
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion app/Http/Controllers/OrderController.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ protected function validator(array $data)
'client_name' => 'required|string|min:4|unique:clients,name',
'client_billing' => 'required|string|email|min:9|max:255|regex:/(.*)dlrg\.de$/i',
'client_billing_address' => 'required|string',

'captcha' => 'required|captcha',
]);
}
Expand Down
2 changes: 1 addition & 1 deletion resources/views/auth/register.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@

<div class="input-group">
<p style="text-align: center; display: block;">
{{captcha_img('flat')}}
{!! captcha_img('flat') !!}
</p>
</div>

Expand Down
2 changes: 1 addition & 1 deletion resources/views/order/order.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@
<div class="col-sm-12">
<div class="input-group">
<p style=" display: block;">
{{captcha_img('flat')}}
{!! captcha_img('flat') !!}
</p>
</div>

Expand Down

0 comments on commit 425b2e1

Please sign in to comment.