]> source.dussan.org Git - nextcloud-server.git/commit
Move regeneration of session ID into session classes
authorLukas Reschke <lukas@owncloud.com>
Mon, 4 Jan 2016 14:00:58 +0000 (15:00 +0100)
committerLukas Reschke <lukas@owncloud.com>
Mon, 4 Jan 2016 14:09:01 +0000 (15:09 +0100)
commitfec41e753926b9f98a554b99dc66b6dd7a0c96a3
treec12929701b7e8c5cc7032be5cec9a3164a29ebd1
parentebc52300e752c68b3f6dcc822894ad1ab85f0999
Move regeneration of session ID into session classes

There were code paths that nowadays call ISession::login directly thus bypassing the desired regeneration of the session ID. This moves the session regeneration deeper into the session handling and thus ensures that it is always called. Furthermore, I also added the session regeneration to the remember me cookie plus added some test case expectations for this.
lib/base.php
lib/private/session/cryptosessiondata.php
lib/private/session/internal.php
lib/private/session/memory.php
lib/private/user.php
lib/private/user/session.php
lib/public/isession.php
tests/lib/user/session.php