Skip to content

Commit

Permalink
Allow null for client_secret
Browse files Browse the repository at this point in the history
Changed `client_secret` declaration in schema to allow NULL values
  • Loading branch information
Wilt committed Sep 24, 2015
1 parent 7fa4185 commit b88da1e
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 b88da1e

Please sign in to comment.