diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2018-11-29 11:54:36 +0300 |
---|---|---|
committer | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2018-11-29 12:27:22 +0300 |
commit | 5e4990faddfd05a1f368e4d6d6070a9d1ff55dfc (patch) | |
tree | 5a8a328f2a898692ced1fc8b9860f3400c429ff6 /core/Controller | |
parent | cba5ccfbaf9f0bc29c8a3807377b7422423203bb (diff) |
Remove redirect page
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'core/Controller')
-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 |