diff options
author | Julius Härtl <jus@bitgrid.net> | 2021-11-22 12:58:42 +0100 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2021-12-29 11:52:31 +0100 |
commit | e00173a71b5d8e24543c7a33701adb6b5e313077 (patch) | |
tree | be552973450f8a62c8dbc30e4caa0af992534d34 /core | |
parent | 61dd1d3d976e811ed504074e3d9fd7d2b149b5b5 (diff) | |
download | nextcloud-server-e00173a71b5d8e24543c7a33701adb6b5e313077.tar.gz nextcloud-server-e00173a71b5d8e24543c7a33701adb6b5e313077.zip |
Also pass user on flow v2 landing
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'core')
-rw-r--r-- | core/Controller/ClientFlowLoginV2Controller.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/Controller/ClientFlowLoginV2Controller.php b/core/Controller/ClientFlowLoginV2Controller.php index bb15ea3cc5d..46031356ba5 100644 --- a/core/Controller/ClientFlowLoginV2Controller.php +++ b/core/Controller/ClientFlowLoginV2Controller.php @@ -100,7 +100,7 @@ class ClientFlowLoginV2Controller extends Controller { * @PublicPage * @UseSession */ - public function landing(string $token): Response { + public function landing(string $token, $user = ''): Response { if (!$this->loginFlowV2Service->startLoginFlow($token)) { return $this->loginTokenForbiddenResponse(); } @@ -108,7 +108,7 @@ class ClientFlowLoginV2Controller extends Controller { $this->session->set(self::TOKEN_NAME, $token); return new RedirectResponse( - $this->urlGenerator->linkToRouteAbsolute('core.ClientFlowLoginV2.showAuthPickerPage') + $this->urlGenerator->linkToRouteAbsolute('core.ClientFlowLoginV2.showAuthPickerPage', ['user' => $user]) ); } |