diff options
author | Christoph Wurst <christoph@owncloud.com> | 2016-06-01 13:54:08 +0200 |
---|---|---|
committer | Christoph Wurst <christoph@owncloud.com> | 2016-06-01 14:43:47 +0200 |
commit | 5e71d23dedf7fc6a8b9f28d856d57f5516af44ac (patch) | |
tree | df216565c56f53fcbd8d4bb8d253bb39ddd67e13 /core/templates/twofactorselectchallenge.php | |
parent | 7b4459d28d40523c70ec05a733e158f2c14faac4 (diff) | |
download | nextcloud-server-5e71d23dedf7fc6a8b9f28d856d57f5516af44ac.tar.gz nextcloud-server-5e71d23dedf7fc6a8b9f28d856d57f5516af44ac.zip |
remember redirect_url when solving the 2FA challenge
Diffstat (limited to 'core/templates/twofactorselectchallenge.php')
-rw-r--r-- | core/templates/twofactorselectchallenge.php | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/core/templates/twofactorselectchallenge.php b/core/templates/twofactorselectchallenge.php index 6db8c69d7ac..14d599aab3e 100644 --- a/core/templates/twofactorselectchallenge.php +++ b/core/templates/twofactorselectchallenge.php @@ -7,7 +7,12 @@ <?php foreach ($_['providers'] as $provider): ?> <li> <a class="two-factor-provider" - href="<?php p(\OC::$server->getURLGenerator()->linkToRoute('core.TwoFactorChallenge.showChallenge', ['challengeProviderId' => $provider->getId()])) ?>"> + href="<?php p(\OC::$server->getURLGenerator()->linkToRoute('core.TwoFactorChallenge.showChallenge', + [ + 'challengeProviderId' => $provider->getId(), + 'redirect_url' => $_['redirect_url'], + ] + )) ?>"> <?php p($provider->getDescription()) ?> </a> </li> |