diff options
Diffstat (limited to 'plugins/password')
| -rw-r--r-- | plugins/password/drivers/chpasswd.php | 2 | ||||
| -rw-r--r-- | plugins/password/package.xml | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/plugins/password/drivers/chpasswd.php b/plugins/password/drivers/chpasswd.php index 8450af154..28c3e5d7a 100644 --- a/plugins/password/drivers/chpasswd.php +++ b/plugins/password/drivers/chpasswd.php @@ -18,7 +18,7 @@ function password_save($currpass, $newpass) $username = $_SESSION['username']; $handle = popen($cmd, "w"); - fwrite($handle, "$username:$newpass"); + fwrite($handle, "$username:$newpass\n"); if (pclose($handle) == 0) { return PASSWORD_SUCCESS; diff --git a/plugins/password/package.xml b/plugins/password/package.xml index 1fe49fb74..d4fb6e96b 100644 --- a/plugins/password/package.xml +++ b/plugins/password/package.xml @@ -29,6 +29,7 @@ <notes> - hMail driver: add username_domain detection (#1487100) - hMail driver: HTML tags in logged messages should be stripped off (#1487099) +- Chpasswd driver: add newline at end of input to chpasswd binary (#1487141) </notes> <contents> <dir baseinstalldir="/" name="/"> |
