From b317a85744fc4fedf5bbbfbc2a827dce1f34342a Mon Sep 17 00:00:00 2001 From: mondjunge <48616831+mondjunge@users.noreply.github.com> Date: Tue, 21 Apr 2020 22:10:09 +0200 Subject: [PATCH] Update registrationservice.php [$this->urlGenerator->getAbsoluteURL('/')] should be Parameter for $this->l10n->t not for the TemplateResponse constructor. --- service/registrationservice.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/service/registrationservice.php b/service/registrationservice.php index 475a039..7a0e3fc 100644 --- a/service/registrationservice.php +++ b/service/registrationservice.php @@ -431,7 +431,7 @@ class RegistrationService { } // Render message in case redirect failed return new TemplateResponse('registration', 'message', - ['msg' => $this->l10n->t('Your account has been successfully created, you can log in now.'), [$this->urlGenerator->getAbsoluteURL('/')]] + ['msg' => $this->l10n->t('Your account has been successfully created, you can log in now.', [$this->urlGenerator->getAbsoluteURL('/')])] , 'guest' );