diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2018-11-29 09:54:36 +0100 |
---|---|---|
committer | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2018-11-29 10:27:22 +0100 |
commit | 5e4990faddfd05a1f368e4d6d6070a9d1ff55dfc (patch) | |
tree | 5a8a328f2a898692ced1fc8b9860f3400c429ff6 /core/Controller/ClientFlowLoginController.php | |
parent | cba5ccfbaf9f0bc29c8a3807377b7422423203bb (diff) | |
download | nextcloud-server-5e4990faddfd05a1f368e4d6d6070a9d1ff55dfc.tar.gz nextcloud-server-5e4990faddfd05a1f368e4d6d6070a9d1ff55dfc.zip |
Remove redirect page
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'core/Controller/ClientFlowLoginController.php')
-rw-r--r-- | core/Controller/ClientFlowLoginController.php | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/core/Controller/ClientFlowLoginController.php b/core/Controller/ClientFlowLoginController.php index 2e8216c2ba5..83bd9faa6c7 100644 --- a/core/Controller/ClientFlowLoginController.php +++ b/core/Controller/ClientFlowLoginController.php @@ -244,34 +244,6 @@ class ClientFlowLoginController extends Controller { /** * @NoAdminRequired - * @NoCSRFRequired - * @UseSession - * - * @param string $stateToken - * @param string $clientIdentifier - * @return TemplateResponse - */ - public function redirectPage($stateToken = '', - $clientIdentifier = '') { - if(!$this->isValidToken($stateToken)) { - return $this->stateTokenForbiddenResponse(); - } - - return new TemplateResponse( - $this->appName, - 'loginflow/redirect', - [ - 'urlGenerator' => $this->urlGenerator, - 'stateToken' => $stateToken, - 'clientIdentifier' => $clientIdentifier, - 'oauthState' => $this->session->get('oauth.state'), - ], - 'guest' - ); - } - - /** - * @NoAdminRequired * @UseSession * * @param string $stateToken |