Merge pull request #26949 from nextcloud/fix-add-app-password

fix occ command user:add-app-password
This commit is contained in:
Julius Härtl 2021-05-12 07:24:32 +02:00 committed by GitHub
commit 0599a8060c
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,