Fix only showing first letter of "invalid verification error"
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
8ef7b52c19
commit
6694e08662
|
|
@ -323,7 +323,7 @@ class RegisterController extends Controller {
|
||||||
protected function validateSecretAndTokenErrorPage(): TemplateResponse {
|
protected function validateSecretAndTokenErrorPage(): TemplateResponse {
|
||||||
return new TemplateResponse('core', 'error', [
|
return new TemplateResponse('core', 'error', [
|
||||||
'errors' => [
|
'errors' => [
|
||||||
$this->l10n->t('The verification failed.'),
|
['error' => $this->l10n->t('The verification failed.')],
|
||||||
],
|
],
|
||||||
], 'error');
|
], 'error');
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue