Skip to content

Commit

Permalink
Merge pull request #645 from Wilt/patch-1
Browse files Browse the repository at this point in the history
Allow null for client_secret
  • Loading branch information
bshaffer committed Sep 24, 2015
2 parents 7fa4185 + b88da1e commit 40e2e32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/OAuth2/Storage/Pdo.php
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,7 @@ public function getBuildSql($dbName = 'oauth2_server_php')
$sql = "
CREATE TABLE {$this->config['client_table']} (
client_id VARCHAR(80) NOT NULL,
client_secret VARCHAR(80) NOT NULL,
client_secret VARCHAR(80),
redirect_uri VARCHAR(2000),
grant_types VARCHAR(80),
scope VARCHAR(4000),
Expand Down

0 comments on commit 40e2e32

Please sign in to comment.