summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--appinfo/routes.php2
-rw-r--r--lib/Controller/AccountController.php1
-rw-r--r--src/App.vue6
3 files changed, 1 insertions, 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 @@
</div>
<div id="app-content">
<div class="social__container">
- Add an account:
- <input type="text" id="social-instance-new-account" placeholder="mastodon.social" />
- <input type="submit" id="social-submit-new-account" /><br />
-
- Accounts: <select id="social-list-accounts"></select><input type="submit" id="social-submit-account-test" value="Test this account" /><br />
-
<h2>🎉 Nextcloud becomes part of the federated social networks!</h2>
</div>
</div>