dfd498b2 by Jeff Balicki

s

1 parent 4cd142f6
......@@ -153,7 +153,11 @@ $app->post('/disconnect', function () use ($app, $client) {
$client->revokeToken($token);
// Remove the credentials from the user's session.
$app['session']->set('token', '');
$app = "";
$_SESSION = [];
session_destroy();
session_unset();
return new Response('Successfully disconnected', 200);
});
......