diff options
author | Morris Jobke <hey@morrisjobke.de> | 2017-09-25 17:39:02 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-25 17:39:02 +0200 |
commit | 292a7046482e1fb5dc7eb7712d205ec37fe6f3e1 (patch) | |
tree | fcf4e01c26827c830d17154b3020350351535b53 /lib/private | |
parent | 9080976975c97ef7d377bb068bdf3e7e9e7746bf (diff) | |
parent | 38bb6e1477f7ddcc4eab6ab2f0ab3bb435ce1071 (diff) | |
download | nextcloud-server-292a7046482e1fb5dc7eb7712d205ec37fe6f3e1.tar.gz nextcloud-server-292a7046482e1fb5dc7eb7712d205ec37fe6f3e1.zip |
Merge pull request #6544 from nextcloud/fix/duplicate-session-token
Fix duplicate session token after remembered login
Diffstat (limited to 'lib/private')
-rw-r--r-- | lib/private/Authentication/Token/DefaultTokenProvider.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/private/Authentication/Token/DefaultTokenProvider.php b/lib/private/Authentication/Token/DefaultTokenProvider.php index a1a7e83ea21..80bcc4aeac8 100644 --- a/lib/private/Authentication/Token/DefaultTokenProvider.php +++ b/lib/private/Authentication/Token/DefaultTokenProvider.php @@ -195,6 +195,7 @@ class DefaultTokenProvider implements IProvider { $newToken->setRemember($token->getRemember()); $newToken->setLastActivity($this->time->getTime()); $this->mapper->insert($newToken); + $this->mapper->delete($token); } /** |