Browse Source
pass q=config in initial micropub config query
fixes #54
pull/64/head
Aaron Parecki
8 years ago
No known key found for this signature in database
GPG Key ID: 276C2817346D6056
1 changed files with
1 additions and
1 deletions
-
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.
|
|
|
// 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.
|
|
|
// 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']); |
|
|
unset($_SESSION['auth_state']); |
|
|