]> source.dussan.org Git - nextcloud-server.git/commit
bring back remember-me
authorChristoph Wurst <christoph@winzerhof-wurst.at>
Tue, 6 Sep 2016 19:41:15 +0000 (21:41 +0200)
committerLukas Reschke <lukas@statuscode.ch>
Wed, 2 Nov 2016 12:39:16 +0000 (13:39 +0100)
commitd907666232468503ab6ed2bdac44b6500be2beb6
tree945f83d4ddeda3df811042b138e84a2cdf06d120
parentdada3ffb51ce9d941b15f1e3fdc1ce292acebb69
bring back remember-me
* try to reuse the old session token for remember me login
* decrypt/encrypt token password and set the session id accordingly
* create remember-me cookies only if checkbox is checked and 2fa solved
* adjust db token cleanup to store remembered tokens longer
* adjust unit tests

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
20 files changed:
core/Controller/LoginController.php
db_structure.xml
lib/base.php
lib/private/AppFramework/DependencyInjection/DIContainer.php
lib/private/Authentication/Token/DefaultToken.php
lib/private/Authentication/Token/DefaultTokenMapper.php
lib/private/Authentication/Token/DefaultTokenProvider.php
lib/private/Authentication/Token/IProvider.php
lib/private/Authentication/Token/IToken.php
lib/private/Authentication/TwoFactorAuth/Manager.php
lib/private/Server.php
lib/private/User/Session.php
lib/private/legacy/user.php
lib/public/IRequest.php
tests/Core/Controller/LoginControllerTest.php
tests/lib/Authentication/Token/DefaultTokenMapperTest.php
tests/lib/Authentication/Token/DefaultTokenProviderTest.php
tests/lib/Authentication/TwoFactorAuth/ManagerTest.php
tests/lib/User/SessionTest.php
version.php