Update registrationservice.php

[$this->urlGenerator->getAbsoluteURL('/')] should be Parameter for $this->l10n->t not for the TemplateResponse constructor.
This commit is contained in:
mondjunge 2020-04-21 22:10:09 +02:00 committed by Pellaeon Lin
parent d53b692f25
commit b317a85744
1 changed files with 1 additions and 1 deletions

View File

@ -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 <a href="%s">log in now</a>.'), [$this->urlGenerator->getAbsoluteURL('/')]]
['msg' => $this->l10n->t('Your account has been successfully created, you can <a href="%s">log in now</a>.', [$this->urlGenerator->getAbsoluteURL('/')])]
, 'guest'
);