Merge pull request #251 from nextcloud/bugfix/250/invalid-route-on-form

Fix invalid route on form
This commit is contained in:
Joas Schilling 2020-10-26 08:32:25 +01:00 committed by GitHub
commit 0c65c7a769
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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'])) {?>