summaryrefslogtreecommitdiff
path: root/controllers/auth.php
diff options
context:
space:
mode:
authorAaron Parecki <aaron@parecki.com>2016-12-17 15:35:21 -0800
committerAaron Parecki <aaron@parecki.com>2016-12-17 15:35:21 -0800
commitde0589d9cf7c32e83b493627fc66cb538fb20f3c (patch)
treede2b097a79d5d3a9afd16e396b2859b8eeecee8f /controllers/auth.php
parent7d19f61b101ca30debc675018f5509fb28e3de1a (diff)
pass q=config in initial micropub config query
fixes #54
Diffstat (limited to 'controllers/auth.php')
-rw-r--r--controllers/auth.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/controllers/auth.php b/controllers/auth.php
index c4efb1d..e2242de 100644
--- a/controllers/auth.php
+++ b/controllers/auth.php
@@ -212,7 +212,7 @@ $app->get('/auth/callback', function() use($app) {
// Make a request to the micropub endpoint to discover the syndication targets and media endpoint if any.
// Errors are silently ignored here. The user will be able to retry from the new post interface and get feedback.
- get_micropub_config($user);
+ get_micropub_config($user, ['q'=>'config']);
}
unset($_SESSION['auth_state']);