restore redirect after checkLoggedIn
This commit is contained in:
parent
6540bda238
commit
36b7d819e5
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue