]> source.dussan.org Git - nextcloud-server.git/commit
Fix duplicate session token after remembered login 7568/head
authorChristoph Wurst <christoph@winzerhof-wurst.at>
Mon, 18 Sep 2017 08:33:19 +0000 (10:33 +0200)
committerChristoph Wurst <christoph@winzerhof-wurst.at>
Tue, 19 Dec 2017 08:17:06 +0000 (09:17 +0100)
commit85c18f598069e033b11897fd43fae42eec2e9692
tree550d8adb8a4b0ecf1d5aae484867e839ae6bae41
parent6859e5a22a862b02ecd8e912b0f09e30560fb0b8
Fix duplicate session token after remembered login

On a remembered login session, we create a new session token
in the database with the values of the old one. As we actually
don't need the old session token anymore, we can delete it right
away.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
lib/private/Authentication/Token/DefaultTokenProvider.php
tests/lib/Authentication/Token/DefaultTokenProviderTest.php