- 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_Preferences::deleteKey(OC_User::getUser(), 'login_token', $_COOKIE['oc_token']);
|
||||||
}
|
}
|
||||||
OC_User::logout();
|
OC_User::logout();
|
||||||
header("Location: " . OC::$WEBROOT . '/');
|
header("Location: " . OC::$WEBROOT);
|
||||||
} else {
|
} else {
|
||||||
if (is_null($file)) {
|
if (is_null($file)) {
|
||||||
$param['file'] = 'index.php';
|
$param['file'] = 'index.php';
|
||||||
|
|
Loading…
Reference in New Issue