summaryrefslogtreecommitdiffstats
path: root/core/Controller
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2017-08-24 12:15:26 +0200
committerLukas Reschke <lukas@statuscode.ch>2017-09-06 16:38:24 +0200
commit504c1abee0162ea6824a959f0c1ca95407aea46a (patch)
treec3ecfdd0e26dc2ddc58348d5463d39eae506a551 /core/Controller
parent6f7d200838082f84cd482c5f08612268c9378b9f (diff)
downloadnextcloud-server-504c1abee0162ea6824a959f0c1ca95407aea46a.tar.gz
nextcloud-server-504c1abee0162ea6824a959f0c1ca95407aea46a.zip
Fix undefined index oauthState
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'core/Controller')
-rw-r--r--core/Controller/ClientFlowLoginController.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/Controller/ClientFlowLoginController.php b/core/Controller/ClientFlowLoginController.php
index bec81a89d53..5767c9e1c62 100644
--- a/core/Controller/ClientFlowLoginController.php
+++ b/core/Controller/ClientFlowLoginController.php
@@ -193,6 +193,7 @@ class ClientFlowLoginController extends Controller {
'urlGenerator' => $this->urlGenerator,
'stateToken' => $stateToken,
'serverHost' => $this->request->getServerHost(),
+ 'oauthState' => $this->session->get('oauth.state'),
],
'guest'
);