Merge pull request #26952 from nextcloud/backport/26949/stable21

[stable21] fix occ command user:add-app-password
This commit is contained in:
kesselb 2021-05-14 11:13:18 +02:00 committed by GitHub
commit 959c9e30cb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -122,7 +122,7 @@ class AddAppPassword extends Command {
$this->tokenProvider->generateToken( $this->tokenProvider->generateToken(
$token, $token,
$user->getUID(), $user->getUID(),
$user->getDisplayName(), $user->getUID(),
$password, $password,
'cli', 'cli',
IToken::PERMANENT_TOKEN, IToken::PERMANENT_TOKEN,