From: Alessandro Cosentino Date: Tue, 21 Feb 2012 15:22:17 +0000 (-0500) Subject: restore redirect after checkLoggedIn X-Git-Tag: v4.0.0beta~201^2~26 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=36b7d819e535667c76faf93dd6cbe666b338cdb2;p=nextcloud-server.git restore redirect after checkLoggedIn --- diff --git a/lib/util.php b/lib/util.php index ee32d31bfd0..aa9fcdec65f 100644 --- a/lib/util.php +++ b/lib/util.php @@ -255,7 +255,7 @@ class OC_Util { public static function checkLoggedIn(){ // Check if we are a user if( !OC_User::isLoggedIn()){ - header( 'Location: '.OC_Helper::linkToAbsolute( '', 'index.php' )); + header( 'Location: '.OC_Helper::linkToAbsolute( '', 'index.php', TRUE )); exit(); } }