Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/polls.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordartcafe <github@dartcafe.de>2022-07-08 23:50:48 +0300
committerdartcafe <github@dartcafe.de>2022-07-08 23:50:48 +0300
commit2aae76db8066911e1de337e451f3efd08fadd8cc (patch)
tree62f34cd4b3bc8c1b662bea92e5a6ffc79a584155 /appinfo
parent312d6990f51a5eb68b0b5a6a4427f1165330d0c0 (diff)
allow public users changing their name
Signed-off-by: dartcafe <github@dartcafe.de>
Diffstat (limited to 'appinfo')
-rw-r--r--appinfo/routes.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/appinfo/routes.php b/appinfo/routes.php
index 0d43de06..b4cba935 100644
--- a/appinfo/routes.php
+++ b/appinfo/routes.php
@@ -31,6 +31,7 @@ return [
['name' => 'public#get_votes', 'url' => '/s/{token}/votes', 'verb' => 'GET'],
['name' => 'public#get_subscription', 'url' => '/s/{token}/subscription', 'verb' => 'GET'],
['name' => 'public#set_email_address', 'url' => '/s/{token}/email', 'verb' => 'PUT'],
+ ['name' => 'public#set_display_name', 'url' => '/s/{token}/name/{displayName}', 'verb' => 'PUT'],
['name' => 'public#delete_email_address', 'url' => '/s/{token}/email', 'verb' => 'DELETE'],
['name' => 'public#set_vote', 'url' => '/s/{token}/vote', 'verb' => 'PUT'],