- removed slash-adding for logout-header-redirect
This commit is contained in:
parent
74b1f7d448
commit
efea868704
|
@ -641,7 +641,7 @@ class OC {
|
|||
OC_Preferences::deleteKey(OC_User::getUser(), 'login_token', $_COOKIE['oc_token']);
|
||||
}
|
||||
OC_User::logout();
|
||||
header("Location: " . OC::$WEBROOT . '/');
|
||||
header("Location: " . OC::$WEBROOT);
|
||||
} else {
|
||||
if (is_null($file)) {
|
||||
$param['file'] = 'index.php';
|
||||
|
|
Loading…
Reference in New Issue