summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2019-01-18 17:21:51 +0100
committerGitHub <noreply@github.com>2019-01-18 17:21:51 +0100
commite28a18ab1694fe79762791e5f44e76fd965354f4 (patch)
tree3e8edad5ca39471569a6bf5014718c0d5a4d24e6
parent743323ee48552b52b79bbc105f166cb88eba2342 (diff)
parent66367797dfd7ad794881494e20eb64d4368056ac (diff)
downloadnextcloud-server-e28a18ab1694fe79762791e5f44e76fd965354f4.tar.gz
nextcloud-server-e28a18ab1694fe79762791e5f44e76fd965354f4.zip
Merge pull request #13660 from nextcloud/fix/template_parameter
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'
);