Fix invalid route on form
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
ab4bccdc1a
commit
c20fd7321a
|
|
@ -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'])) {?>
|
||||
|
|
|
|||
Loading…
Reference in New Issue