From 8b5bc6950b9b1cda20ac31ca0f350904edd2eae2 Mon Sep 17 00:00:00 2001 From: Johannes Meyer Date: Thu, 15 Jul 2021 11:18:10 +0200 Subject: [PATCH] user/createmembership: Don't render `user/form.phtml` fixes #4450 --- application/controllers/UserController.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/application/controllers/UserController.php b/application/controllers/UserController.php index b011cdfb4..dac80d34e 100644 --- a/application/controllers/UserController.php +++ b/application/controllers/UserController.php @@ -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')); } /**