diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2019-01-18 09:17:26 +0100 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2019-01-18 15:30:38 +0100 |
commit | 66367797dfd7ad794881494e20eb64d4368056ac (patch) | |
tree | d40d4cb26d1c8cba328a82161c0b3a85a0c9e22b | |
parent | f8ce5ea6f3c6c38cc7a71d906bcae7b21b30208c (diff) | |
download | nextcloud-server-66367797dfd7ad794881494e20eb64d4368056ac.tar.gz nextcloud-server-66367797dfd7ad794881494e20eb64d4368056ac.zip |
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' ); |