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:
Diffstat (limited to 'lib/Controller/SystemController.php')
-rw-r--r--lib/Controller/SystemController.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/Controller/SystemController.php b/lib/Controller/SystemController.php
index 53f5c8f1..3e0a9b68 100644
--- a/lib/Controller/SystemController.php
+++ b/lib/Controller/SystemController.php
@@ -130,8 +130,7 @@ class SystemController extends Controller {
* @return DataResponse
*/
public function validatePublicUsername($pollId, $userName, $token) {
- return new DataResponse(['result' => true, 'name' => $userName], Http::STATUS_OK);
-
+ return new DataResponse(['result' => $this->systemService->validatePublicUsername($pollId, $userName, $token), 'name' => $userName], Http::STATUS_OK);
}
}