diff options
Diffstat (limited to 'core/Command/User/AddAppPassword.php')
-rw-r--r-- | core/Command/User/AddAppPassword.php | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/core/Command/User/AddAppPassword.php b/core/Command/User/AddAppPassword.php index 4f636c406fb..7a2270e20b1 100644 --- a/core/Command/User/AddAppPassword.php +++ b/core/Command/User/AddAppPassword.php @@ -109,10 +109,7 @@ class AddAppPassword extends Command { return 1; } - if (!$this->userManager->checkPassword($user->getUID(), $password)) { - $output->writeln('<error>The provided password is invalid</error>'); - return 1; - } + $output->writeln('<comment>The password has not been validated, some features might not work as intended.</comment>'); $token = $this->random->generate(72, ISecureRandom::CHAR_UPPER.ISecureRandom::CHAR_LOWER.ISecureRandom::CHAR_DIGITS); $generatedToken = $this->tokenProvider->generateToken( |