user/createmembership: Don't render `user/form.phtml`

fixes #4450
This commit is contained in:
Johannes Meyer 2021-07-15 11:18:10 +02:00
parent d123b390b1
commit 8b5bc6950b
1 changed files with 1 additions and 2 deletions

View File

@ -258,8 +258,7 @@ class UserController extends AuthBackendController
->setRedirectUrl(Url::fromPath('user/show', array('backend' => $backend->getName(), 'user' => $userName)))
->handleRequest();
$this->view->form = $form;
$this->render('form');
$this->renderForm($form, $this->translate('Create New Membership'));
}
/**