Browse Source

pass q=config in initial micropub config query

fixes #54
pull/64/head
Aaron Parecki 7 years ago
parent
commit
de0589d9cf
No known key found for this signature in database GPG Key ID: 276C2817346D6056
  1. 2
      controllers/auth.php

2
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']);

Loading…
Cancel
Save