Fix only showing first letter of "invalid verification error"

Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
Joas Schilling 2021-04-01 09:18:16 +02:00
parent 8ef7b52c19
commit 6694e08662
No known key found for this signature in database
GPG Key ID: 7076EA9751AACDDA
1 changed files with 1 additions and 1 deletions

View File

@ -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');
} }