Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/registration.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2021-04-01 10:18:16 +0300
committerJoas Schilling <coding@schilljs.com>2021-04-01 10:26:22 +0300
commit6694e0866265e1b8cdd257459993f91da3108e25 (patch)
treedd9f213fffaea2416812854b668e0e5646cc8292 /lib
parent8ef7b52c19594c16b986db94adb69693830f5d1d (diff)
Fix only showing first letter of "invalid verification error"
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/Controller/RegisterController.php2
1 files changed, 1 insertions, 1 deletions
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');
}