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 @@