Update registrationservice.php
[$this->urlGenerator->getAbsoluteURL('/')] should be Parameter for $this->l10n->t not for the TemplateResponse constructor.
This commit is contained in:
parent
d53b692f25
commit
b317a85744
|
|
@ -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'
|
||||
);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue