friendship ended with social-app. php is my new best friend

move stuff around

Changed files
+3 -2
+3 -2
index.php
···
'sessionStorageVar' => 'sbs_'.SITE_DOMAIN
]);
$storage = new SessionStorage($options);
-
echo 'get access token:';
-
print_r($storage->getAccessToken($name));
$connector = new React\Socket\Connector([
'dns' => '1.1.1.1'
]);
···
$provider = new BskyProvider($options, $client, $httpFactory, $httpFactory, $httpFactory);
$provider->setPds($pds);
$name = $provider->getName();
+
+
echo 'get access token:';
+
print_r($storage->getAccessToken($name));
if (isset($_GET['login']) && $_GET['login'] === $name) {
$auth_url = $provider->getAuthorizationUrl([