mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
Delete old session files, suggested by Torben Nehmer, see bug oc-736
This commit is contained in:
parent
89027545a0
commit
099b16350f
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue