Browse Source

Fix template paramter

Else we get shown an error page instead of the correct 403.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Roeland Jago Douma 5 years ago
parent
commit
66367797df

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