]> source.dussan.org Git - nextcloud-server.git/commitdiff
Allow to send the password of protected conversations 15394/head
authorJoas Schilling <coding@schilljs.com>
Mon, 6 May 2019 13:49:14 +0000 (15:49 +0200)
committerJoas Schilling <coding@schilljs.com>
Mon, 6 May 2019 15:10:41 +0000 (17:10 +0200)
Signed-off-by: Joas Schilling <coding@schilljs.com>
core/routes.php

index 364503d72d6181c2edd1b1780bcbbe8a53214bcc..1544fd67e070ddf95a1b9e0555156a0f8cad024a 100644 (file)
@@ -89,6 +89,7 @@ $application->registerRoutes($this, [
                ['name' => 'requesthandlercontroller#addShare', 'url' => '/ocm/shares', 'verb' => 'POST', 'app' => 'cloud_federation_api'],
                ['name' => 'requesthandlercontroller#receiveNotification', 'url' => '/ocm/notifications', 'verb' => 'POST', 'app' => 'cloud_federation_api'],
                ['name' => 'pagecontroller#showCall', 'url' => '/call/{token}', 'verb' => 'GET', 'app' => 'spreed'],
+               ['name' => 'pagecontroller#authenticatePassword', 'url' => '/call/{token}', 'verb' => 'POST', 'app' => 'spreed'],
        ],
        'ocs' => [
                ['root' => '/cloud', 'name' => 'OCS#getCapabilities', 'url' => '/capabilities', 'verb' => 'GET'],