diff options
-rw-r--r-- | etc/inc/auth.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/auth.inc b/etc/inc/auth.inc index 5e46c25..ab04846 100644 --- a/etc/inc/auth.inc +++ b/etc/inc/auth.inc @@ -366,7 +366,7 @@ function local_group_set($group, $reset = false) { if($debug)
log_error("Running: {$cmd}");
- $fd = popen($cmd, "r+");
+ $fd = popen($cmd, "w"); fwrite($fd, $user['password']);
pclose($fd);
|