summaryrefslogtreecommitdiffstats
path: root/core/Controller
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2017-08-18 15:32:40 +0200
committerLukas Reschke <lukas@statuscode.ch>2017-08-18 15:32:40 +0200
commit2e4cd445564ba4882ab239bbfd82b6aa800436e3 (patch)
tree9f8126ff5dde02c01f27b04ce921db26aad3ba2f /core/Controller
parenta04feff9a780d77ca172ba7558a7d0cc4e01dc36 (diff)
downloadnextcloud-server-2e4cd445564ba4882ab239bbfd82b6aa800436e3.tar.gz
nextcloud-server-2e4cd445564ba4882ab239bbfd82b6aa800436e3.zip
Inject \OCP\IURLGenerator to make tests work
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
Diffstat (limited to 'core/Controller')
-rw-r--r--core/Controller/TwoFactorChallengeController.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/Controller/TwoFactorChallengeController.php b/core/Controller/TwoFactorChallengeController.php
index af69b55173e..52d015903c8 100644
--- a/core/Controller/TwoFactorChallengeController.php
+++ b/core/Controller/TwoFactorChallengeController.php
@@ -70,7 +70,7 @@ class TwoFactorChallengeController extends Controller {
* @return string
*/
protected function getLogoutUrl() {
- return OC_User::getLogoutUrl();
+ return OC_User::getLogoutUrl($this->urlGenerator);
}
/**