Browse Source

Merge pull request #13660 from nextcloud/fix/template_parameter

Fix template paramter
Morris Jobke 5 years ago
parent
commit
e28a18ab16

+ 1 - 1
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'
 		);

+ 1 - 1
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'
 		);