add error messages from plugin password to debug

This commit is contained in:
alf 2022-02-01 06:07:18 +03:00
parent 16a4ce9320
commit 3620ae3639
1 changed files with 1 additions and 0 deletions

View File

@ -286,6 +286,7 @@ class password_recovery extends rcube_plugin {
if ($result != 0) {
$message = $this->gettext('write_failed') . ": " . $result;
$type = 'error';
$this->debug($message);
}
} else {
$save['password'] = crypt($newpassword, '$1$' . rcube_utils::random_bytes(9));