Skip to content

Commit

Permalink
Merge pull request #121 from markcameron/patch-example
Browse files Browse the repository at this point in the history
Fixes Content-Type header syntax in provider.php for the example code
  • Loading branch information
shadowhand committed Aug 23, 2023
2 parents 1b01ba1 + b6e1a4d commit 5beaf76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/provider.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@
$provider = new Google(compact('clientId', 'clientSecret', 'redirectUri'));

// No HTML for demo, prevents any attempt at XSS
header('Content-Type', 'text/plain');
header('Content-Type: text/plain');

return $provider;

0 comments on commit 5beaf76

Please sign in to comment.