Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2019-09-18 20:46:21 +0300
committerRoeland Jago Douma <roeland@famdouma.nl>2019-09-18 20:50:58 +0300
commit210a0554a2b99166e7875da87594e3d548df72d7 (patch)
tree332a98128bcc5e034b1420a4c389a86b7593fdec /lib
parent28794b37826ab6a67f5490df514292da1fcb4201 (diff)
Use the actual password to update the tokens
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'lib')
-rw-r--r--lib/private/Authentication/Login/CreateSessionTokenCommand.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Authentication/Login/CreateSessionTokenCommand.php b/lib/private/Authentication/Login/CreateSessionTokenCommand.php
index 14ad6d18b30..59d5c68a24b 100644
--- a/lib/private/Authentication/Login/CreateSessionTokenCommand.php
+++ b/lib/private/Authentication/Login/CreateSessionTokenCommand.php
@@ -59,7 +59,7 @@ class CreateSessionTokenCommand extends ALoginCommand {
);
$this->userSession->updateTokens(
$loginData->getUser()->getUID(),
- $loginData->getUsername()
+ $loginData->getPassword()
);
return $this->processNextOrFinishSuccessfully($loginData);