From 72ebc2a32a80bfcca6323e2313b1a08ad07f5c54 Mon Sep 17 00:00:00 2001 From: Michael Gapczynski Date: Sun, 15 Jul 2012 15:22:31 -0400 Subject: [PATCH] Delete old session files, suggested by Torben Nehmer, see bug oc-736 --- lib/user.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/user.php b/lib/user.php index f1903093d6d..230efe71394 100644 --- a/lib/user.php +++ b/lib/user.php @@ -200,7 +200,7 @@ class OC_User { if( $run ){ $uid=self::checkPassword( $uid, $password ); if($uid){ - session_regenerate_id(); + session_regenerate_id(true); self::setUserId($uid); OC_Hook::emit( "OC_User", "post_login", array( "uid" => $uid, 'password'=>$password )); return true;