This commit is contained in:
Julio Cesar Laura Avendaño
2019-11-21 14:38:11 -04:00
parent 9a59c363d8
commit eccfe46e32
2 changed files with 14 additions and 1 deletions

View File

@@ -53,7 +53,7 @@ class Server implements iAuthenticate
}
// Pass a storage object or array of storage objects to the OAuth2 server class
$this->server = new \OAuth2\Server($this->storage, array('allow_implicit' => true, 'access_lifetime' => 86400));
$this->server = new OAuth2Server($this->storage, array('allow_implicit' => true, 'access_lifetime' => 86400));
$this->server->setConfig('enforce_state', false);