]> source.dussan.org Git - nextcloud-server.git/commitdiff
restore redirect after checkLoggedIn
authorAlessandro Cosentino <cosenal@gmail.com>
Tue, 21 Feb 2012 15:22:17 +0000 (10:22 -0500)
committerAlessandro Cosentino <cosenal@gmail.com>
Tue, 21 Feb 2012 15:22:17 +0000 (10:22 -0500)
lib/util.php

index ee32d31bfd07ce0740d4b915e8782906a8e8d1f8..aa9fcdec65fea827a5186628c75ff537b1bb94a2 100644 (file)
@@ -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();
                }
        }