From 1123ed958f7c22116a0c432779aaf1c27fcaf787 Mon Sep 17 00:00:00 2001 From: Aaron Parecki Date: Mon, 27 Feb 2017 12:31:06 -0800 Subject: basic editing support * new route `/edit?url=` intended to be used as an edit button target, which detects the type of post and redirects to the appropriate editing interface * implemented the edit interface for favorites --- controllers/auth.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'controllers/auth.php') 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 -- cgit v1.2.3