summaryrefslogtreecommitdiff
path: root/controllers/auth.php
diff options
context:
space:
mode:
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 9fd1493..299bde2 100644
--- a/controllers/auth.php
+++ b/controllers/auth.php
@@ -33,7 +33,7 @@ $app->get('/auth/start', function() use($app) {
$tokenEndpoint = IndieAuth\Client::discoverTokenEndpoint($me);
$micropubEndpoint = IndieAuth\Client::discoverMicropubEndpoint($me);
- $defaultScope = 'create';
+ $defaultScope = 'create update';
if($tokenEndpoint && $micropubEndpoint && $authorizationEndpoint) {
// Generate a "state" parameter for the request