diff options
author | Joas Schilling <coding@schilljs.com> | 2020-10-22 10:47:50 +0300 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2020-10-22 10:47:50 +0300 |
commit | c20fd7321a77b7134297003a0c154f826ea513ba (patch) | |
tree | d58ef5841e6e866bceb35a0b8bb2912f34d7963e /templates | |
parent | ab4bccdc1ae0e5dbb1f5c8d2d2dddcd37319eb20 (diff) |
Fix invalid route on form
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'templates')
-rw-r--r-- | templates/form/user.php | 2 |
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'])) {?> |