Browse Source

feat: add 'media' to allow image uploads

pull/17/head
Henrique Dias 3 years ago
committed by GitHub
parent
commit
07e52d794d
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      controllers/auth.php

+ 1
- 1
controllers/auth.php View File

@ -76,7 +76,7 @@ $app->get('/auth/start', function() use($app) {
$_SESSION['redirect_after_login'] = '/new';
if($tokenEndpoint && $micropubEndpoint && $authorizationEndpoint) {
$scope = 'create';
$scope = 'create media';
$authorizationURL = IndieAuth\Client::buildAuthorizationURL($authorizationEndpoint, [
'me' => $me,
'redirect_uri' => buildRedirectURI(),

Loading…
Cancel
Save