From 864b4bb827c826a1cfbf3474a7fb83a805cc807e Mon Sep 17 00:00:00 2001 From: Micke Nordin Date: Mon, 1 Jul 2024 11:26:08 +0200 Subject: [PATCH] Update lib/Service/Provisioning/Manager.php Co-authored-by: Christoph Wurst Signed-off-by: Micke Nordin --- lib/Service/Provisioning/Manager.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Service/Provisioning/Manager.php b/lib/Service/Provisioning/Manager.php index ddbb55abc9..4963e279b2 100644 --- a/lib/Service/Provisioning/Manager.php +++ b/lib/Service/Provisioning/Manager.php @@ -336,7 +336,7 @@ public function updatePassword(IUser $user, ?string $password, array $provisioni if ($provisioning->getMasterPasswordEnabled() === true && $provisioning->getMasterPassword() !== null) { $password = $provisioning->getMasterPassword(); $this->logger->debug('Password set to master password for ' . $user->getUID()); - } else if ($password === null) { + } elseif ($password === null) { $this->logger->debug('No password set for ' . $user->getUID()); return; }