From f05f47807e0087ece7ac8391a9b801196a6e5b18 Mon Sep 17 00:00:00 2001 From: Maxence Lange Date: Tue, 2 Oct 2018 12:21:55 +0200 Subject: [PATCH] cleaning stuff Signed-off-by: Maxence Lange --- appinfo/routes.php | 2 +- lib/Controller/AccountController.php | 1 - src/App.vue | 6 ------ 3 files changed, 1 insertion(+), 8 deletions(-) diff --git a/appinfo/routes.php b/appinfo/routes.php index 4a7ef39d..dc3d19f9 100644 --- a/appinfo/routes.php +++ b/appinfo/routes.php @@ -11,7 +11,7 @@ return [ 'routes' => [ ['name' => 'Navigation#navigate', 'url' => '/', 'verb' => 'GET'], - ['name' => 'Account#create', 'url' => '/local/account/{username}', 'verb' => 'GET'], + ['name' => 'Account#create', 'url' => '/local/account/{username}', 'verb' => 'POST'], ['name' => 'ActivityPub#sharedInbox', 'url' => '/inbox', 'verb' => 'POST'], ['name' => 'ActivityPub#actor', 'url' => '/users/{username}', 'verb' => 'GET'], diff --git a/lib/Controller/AccountController.php b/lib/Controller/AccountController.php index c3eed9b1..75fba6f2 100644 --- a/lib/Controller/AccountController.php +++ b/lib/Controller/AccountController.php @@ -83,7 +83,6 @@ class AccountController extends Controller { * Called by the frontend to create a new Social account * * @NoAdminRequired - * @NoCSRFRequired * * @param string $username * diff --git a/src/App.vue b/src/App.vue index b6b2276e..e347f5a0 100644 --- a/src/App.vue +++ b/src/App.vue @@ -7,12 +7,6 @@