summaryrefslogtreecommitdiffstats
path: root/tests/Core/Controller
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2021-11-03 10:53:05 +0100
committerJulius Härtl <jus@bitgrid.net>2021-12-29 11:52:31 +0100
commit61dd1d3d976e811ed504074e3d9fd7d2b149b5b5 (patch)
tree44704b27ee1cccda6f6a488996b56e6668f3011a /tests/Core/Controller
parent8eab1fedfe64e17d1bfadca3f26da913a8bd9347 (diff)
downloadnextcloud-server-61dd1d3d976e811ed504074e3d9fd7d2b149b5b5.tar.gz
nextcloud-server-61dd1d3d976e811ed504074e3d9fd7d2b149b5b5.zip
Pass username prefill through unauthenticated request redirects
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'tests/Core/Controller')
-rw-r--r--tests/Core/Controller/ClientFlowLoginControllerTest.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/Core/Controller/ClientFlowLoginControllerTest.php b/tests/Core/Controller/ClientFlowLoginControllerTest.php
index 51a17743c93..38204bbcc32 100644
--- a/tests/Core/Controller/ClientFlowLoginControllerTest.php
+++ b/tests/Core/Controller/ClientFlowLoginControllerTest.php
@@ -183,6 +183,7 @@ class ClientFlowLoginControllerTest extends TestCase {
'stateToken' => 'StateToken',
'serverHost' => 'https://example.com',
'oauthState' => 'OauthStateToken',
+ 'user' => '',
],
'guest'
);
@@ -246,6 +247,7 @@ class ClientFlowLoginControllerTest extends TestCase {
'stateToken' => 'StateToken',
'serverHost' => 'https://example.com',
'oauthState' => 'OauthStateToken',
+ 'user' => '',
],
'guest'
);