mirror of
https://github.com/nextcloud/server.git
synced 2026-06-08 16:26:59 -04:00
Merge pull request #17201 from nextcloud/fix/tiny_authentication_bug_mostly_affecting_french_people
Use the actual password to update the tokens
This commit is contained in:
commit
3a9a4f648f
2 changed files with 3 additions and 3 deletions
|
|
@ -59,7 +59,7 @@ class CreateSessionTokenCommand extends ALoginCommand {
|
|||
);
|
||||
$this->userSession->updateTokens(
|
||||
$loginData->getUser()->getUID(),
|
||||
$loginData->getUsername()
|
||||
$loginData->getPassword()
|
||||
);
|
||||
|
||||
return $this->processNextOrFinishSuccessfully($loginData);
|
||||
|
|
|
|||
|
|
@ -76,7 +76,7 @@ class CreateSessionTokenCommandTest extends ALoginCommandTest {
|
|||
->method('updateTokens')
|
||||
->with(
|
||||
$this->username,
|
||||
$this->username
|
||||
$this->password
|
||||
);
|
||||
|
||||
$result = $this->cmd->process($data);
|
||||
|
|
@ -109,7 +109,7 @@ class CreateSessionTokenCommandTest extends ALoginCommandTest {
|
|||
->method('updateTokens')
|
||||
->with(
|
||||
$this->username,
|
||||
$this->username
|
||||
$this->password
|
||||
);
|
||||
|
||||
$result = $this->cmd->process($data);
|
||||
|
|
|
|||
Loading…
Reference in a new issue