Skip to content

Commit 7a161f2

Browse files
committed
Merge pull request #635 from kbirmhrjn/master
Add csrf
2 parents 69a1631 + b1e66e4 commit 7a161f2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docs/authorization-server/auth-code.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
```php
3535
<h2>{{$client->getName()}}</h2>
3636
<form method="post" action="{{route('oauth.authorize.post', $params)}}">
37+
{{ csrf_field() }}
3738
<input type="hidden" name="client_id" value="{{$params['client_id']}}">
3839
<input type="hidden" name="redirect_uri" value="{{$params['redirect_uri']}}">
3940
<input type="hidden" name="response_type" value="{{$params['response_type']}}">

0 commit comments

Comments
 (0)