]> source.dussan.org Git - nextcloud-server.git/commit
copy remember-me value when renewing a session token 2353/head
authorChristoph Wurst <christoph@winzerhof-wurst.at>
Sun, 27 Nov 2016 13:19:57 +0000 (14:19 +0100)
committerChristoph Wurst <christoph@winzerhof-wurst.at>
Sun, 27 Nov 2016 13:19:57 +0000 (14:19 +0100)
commit2183a1f3e6dddae2f49a0bd9ad30e1670f2d9d15
treed1faca92deb7342d2adb2e206da40eb6113f83bc
parent7e6f829d546a95acc3421c5fd9dd7574fa291994
copy remember-me value when renewing a session token

On renew, a session token is duplicated. For some reason we did
not copy over the remember-me attribute value. Hence, the new token
was deleted too early in the background job and remember-me did
not work properly.

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