From 6694e0866265e1b8cdd257459993f91da3108e25 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Thu, 1 Apr 2021 09:18:16 +0200 Subject: [PATCH] Fix only showing first letter of "invalid verification error" Signed-off-by: Joas Schilling --- lib/Controller/RegisterController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Controller/RegisterController.php b/lib/Controller/RegisterController.php index bf7e9fe..33954bc 100644 --- a/lib/Controller/RegisterController.php +++ b/lib/Controller/RegisterController.php @@ -323,7 +323,7 @@ class RegisterController extends Controller { protected function validateSecretAndTokenErrorPage(): TemplateResponse { return new TemplateResponse('core', 'error', [ 'errors' => [ - $this->l10n->t('The verification failed.'), + ['error' => $this->l10n->t('The verification failed.')], ], ], 'error'); }