From 9ae14db5045082b0b41d73511e0f95578b86913f Mon Sep 17 00:00:00 2001 From: Marcel Klehr Date: Thu, 3 Sep 2026 10:49:47 +0200 Subject: [PATCH] fix: Unkown cli option Remove fallback for login name to use user UID directly, as the cli option doesn't exist in this stable branch. Signed-off-by: Marcel Klehr --- core/Command/User/AuthTokens/Add.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/Command/User/AuthTokens/Add.php b/core/Command/User/AuthTokens/Add.php index 9df2ab65bf9ad..fa71c7e4f3ee4 100644 --- a/core/Command/User/AuthTokens/Add.php +++ b/core/Command/User/AuthTokens/Add.php @@ -85,7 +85,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int $password = $helper->ask($input, $output, $question); } - $loginName = $input->getOption('login-name') ?? $user->getUID(); + $loginName = $user->getUID(); if ($password === null) { $output->writeln('No password provided. The generated app password will therefore have limited capabilities. Any operation that requires the login password will fail.');