fix log messages

This commit is contained in:
Cassowary Rusnov 2023-09-27 12:11:09 -07:00
parent cc618ecfda
commit f312f174ce

View File

@ -66,7 +66,7 @@ class UserHooks {
return function (\OC\User\User $user, string $password) { return function (\OC\User\User $user, string $password) {
$email = $user->getUID() . $this->config->getEmailAddressSuffix(); $email = $user->getUID() . $this->config->getEmailAddressSuffix();
if($this->updateEmailPassword($email, $password)) { if($this->updateEmailPassword($email, $password)) {
$this->logger->warning("Updated glesys password for account: " . $email, $this->logContext); $this->logger->warning("updated email password for account" . $email, $this->logContext);
} else { } else {
$this->logger->error("Error updating mail password for account" . $email); $this->logger->error("Error updating mail password for account" . $email);
} }