use the UID as loginName and not the display name.
Otherwise the app password will not work for users with a display name different to the UID. Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
This commit is contained in:
parent
bf86050c77
commit
da21e86a07
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue