Update ChangePasswordCyberPanel.php

This commit is contained in:
hifihedgehog 2019-07-26 09:59:05 -04:00 committed by GitHub
parent e84c2742e8
commit e157fb02a5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -114,13 +114,13 @@ class ChangePasswordCyberPanel implements \RainLoop\Providers\ChangePassword\Cha
$bResult = true; $bResult = true;
if ($this->oLogger) if ($this->oLogger)
{ {
$this->oLogger->Write('Success! Password was changed.'); $this->oLogger->Write('Success! The password was changed.');
} }
} else { } else {
$bResult = false; $bResult = false;
if ($this->oLogger) if ($this->oLogger)
{ {
$this->oLogger->Write('Something went wrong. Either the current password is incorrect or new password does not match the criteria.'); $this->oLogger->Write('Something went wrong. Either the current password is incorrect or the new password does not match the criteria.');
} }
} }
} }