Delete old session files, suggested by Torben Nehmer, see bug oc-736

This commit is contained in:
Michael Gapczynski 2012-07-15 15:22:31 -04:00
parent 89027545a0
commit 099b16350f
1 changed files with 1 additions and 1 deletions

View File

@ -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;