diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2019-01-18 11:17:26 +0300 |
---|---|---|
committer | Backportbot <backportbot-noreply@rullzer.com> | 2019-01-18 21:43:45 +0300 |
commit | 16966ee5aa12e2d28714d00f81403c77ee3afda7 (patch) | |
tree | 9d1c5251c1c1e8c69b204c7045dccb9253528b27 | |
parent | 3037e269488b453103b531a79d5a2e57e1c5406a (diff) |
Fix template paramter
Else we get shown an error page instead of the correct 403.
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
-rw-r--r-- | core/Controller/ClientFlowLoginController.php | 2 | ||||
-rw-r--r-- | tests/Core/Controller/ClientFlowLoginControllerTest.php | 2 |
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' ); |