summaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'index.php')
-rw-r--r--index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.php b/index.php
index fb8d1922dd4..d2d0700c577 100644
--- a/index.php
+++ b/index.php
@@ -90,5 +90,5 @@ else {
}
}
- OC_Template::printGuestPage('', 'login', array('error' => $error ));
+ OC_Template::printGuestPage('', 'login', array('error' => $error, 'redirect' => isset($_REQUEST['redirect_url'])?$_REQUEST['redirect_url']:'' ));
}