Delete old session files, suggested by Torben Nehmer, see bug oc-736
This commit is contained in:
parent
89027545a0
commit
099b16350f
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue