summaryrefslogtreecommitdiffstats
path: root/core/Controller/TwoFactorChallengeController.php
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2016-12-23 20:53:26 +0100
committerChristoph Wurst <christoph@winzerhof-wurst.at>2016-12-23 20:53:26 +0100
commiteff904473d5bea5fe36eb2183e993b49b8b999e9 (patch)
tree315319a2ae5a222f4f9806918c8a0787ad8ad8a0 /core/Controller/TwoFactorChallengeController.php
parent56c016946d0695a62e418839cf19786a223b4ae7 (diff)
downloadnextcloud-server-eff904473d5bea5fe36eb2183e993b49b8b999e9.tar.gz
nextcloud-server-eff904473d5bea5fe36eb2183e993b49b8b999e9.zip
Set redirect_url on 2FA challenge page
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'core/Controller/TwoFactorChallengeController.php')
-rw-r--r--core/Controller/TwoFactorChallengeController.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/Controller/TwoFactorChallengeController.php b/core/Controller/TwoFactorChallengeController.php
index b2614138123..34f0092bea8 100644
--- a/core/Controller/TwoFactorChallengeController.php
+++ b/core/Controller/TwoFactorChallengeController.php
@@ -128,6 +128,7 @@ class TwoFactorChallengeController extends Controller {
'provider' => $provider,
'backupProvider' => $backupProvider,
'logout_attribute' => $this->getLogoutAttribute(),
+ 'redirect_url' => $redirect_url,
'template' => $tmpl->fetchPage(),
];
return new TemplateResponse($this->appName, 'twofactorshowchallenge', $data, 'guest');