Commit 81eff482 authored by Daniel Carden's avatar Daniel Carden

Revert "Update oauth2-server.php"

This reverts commit 33982eb4
parent 33982eb4
Pipeline #535 failed with stage
......@@ -11,7 +11,7 @@ require_once('include/OAuth2/Autoloader.php');
// $dsn is the Data Source Name for your database, for exmaple "mysql:dbname=my_oauth2_db;host=localhos$
$storage = new OAuth2\Storage\Pdo(array('dsn' => $dsn, 'username' => $username, 'password' => $password));
$storage = new OAuth2\Storage\Pdo(array('dsn' => $dsn, 'username' => $username, 'password' => $password$
// Pass a storage object or array of storage objects to the OAuth2 server class
$server = new OAuth2\Server($storage);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment