diff options
author | Michael Gapczynski <mtgap@owncloud.com> | 2012-07-15 15:22:31 -0400 |
---|---|---|
committer | Michael Gapczynski <mtgap@owncloud.com> | 2012-07-30 10:07:19 -0400 |
commit | 099b16350fd33f907f55d9894530b934d1be9a7a (patch) | |
tree | 17cedd79ffae04891c57f62a561c688acd75244e | |
parent | 89027545a05bddc11572b233dbcae92d905ec599 (diff) | |
download | nextcloud-server-099b16350fd33f907f55d9894530b934d1be9a7a.tar.gz nextcloud-server-099b16350fd33f907f55d9894530b934d1be9a7a.zip |
Delete old session files, suggested by Torben Nehmer, see bug oc-736
-rw-r--r-- | lib/user.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/user.php b/lib/user.php index 24435eab23c..9e0e82e79fe 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; |