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

github.com/nextcloud/registration.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2020-10-22 10:47:50 +0300
committerJoas Schilling <coding@schilljs.com>2020-10-22 10:47:50 +0300
commitc20fd7321a77b7134297003a0c154f826ea513ba (patch)
treed58ef5841e6e866bceb35a0b8bb2912f34d7963e /templates
parentab4bccdc1ae0e5dbb1f5c8d2d2dddcd37319eb20 (diff)
Fix invalid route on form
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'templates')
-rw-r--r--templates/form/user.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/form/user.php b/templates/form/user.php
index c3f3dc0..75b4b3a 100644
--- a/templates/form/user.php
+++ b/templates/form/user.php
@@ -3,7 +3,7 @@
/** @var \OCP\IL10N $l */
style('registration', 'style');
script('registration', 'form');
-?><form action="<?php print_unescaped(\OC::$server->getURLGenerator()->linkToRoute('registration.register.createAccount', ['token'=>$_['token']])) ?>" method="post">
+?><form action="" method="post">
<input type="hidden" name="requesttoken" value="<?php p($_['requesttoken']) ?>" />
<fieldset>
<?php if (!empty($_['errormsgs'])) {?>