summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2019-01-21 15:56:46 +0100
committerGitHub <noreply@github.com>2019-01-21 15:56:46 +0100
commitd908bf190caa2798d800cc0c82d1236ae5ecd893 (patch)
tree8aaab130f1072a4dc1812bd8c37d168a6b24441c
parentc96e47b5adf81282875fe9c80ebe394d6fd25a58 (diff)
parent16966ee5aa12e2d28714d00f81403c77ee3afda7 (diff)
downloadnextcloud-server-d908bf190caa2798d800cc0c82d1236ae5ecd893.tar.gz
nextcloud-server-d908bf190caa2798d800cc0c82d1236ae5ecd893.zip
Merge pull request #13670 from nextcloud/backport/13660/stable15
[stable15] Fix template paramter
-rw-r--r--core/Controller/ClientFlowLoginController.php2
-rw-r--r--tests/Core/Controller/ClientFlowLoginControllerTest.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/core/Controller/ClientFlowLoginController.php b/core/Controller/ClientFlowLoginController.php
index c00a720ac57..b58f56194c7 100644
--- a/core/Controller/ClientFlowLoginController.php
+++ b/core/Controller/ClientFlowLoginController.php
@@ -138,7 +138,7 @@ class ClientFlowLoginController extends Controller {
$this->appName,
'403',
[
- 'file' => $this->l10n->t('State token does not match'),
+ 'message' => $this->l10n->t('State token does not match'),
],
'guest'
);
diff --git a/tests/Core/Controller/ClientFlowLoginControllerTest.php b/tests/Core/Controller/ClientFlowLoginControllerTest.php
index ba9caabd0b0..9230cfb4af2 100644
--- a/tests/Core/Controller/ClientFlowLoginControllerTest.php
+++ b/tests/Core/Controller/ClientFlowLoginControllerTest.php
@@ -257,7 +257,7 @@ class ClientFlowLoginControllerTest extends TestCase {
'core',
'403',
[
- 'file' => 'State token does not match',
+ 'message' => 'State token does not match',
],
'guest'
);