From 4289c24290aed4e2b045df9872fdc63867b9f3b3 Mon Sep 17 00:00:00 2001
From: ftimme <ft@falkotimme.com>
Date: Tue, 06 Aug 2013 17:09:16 -0400
Subject: [PATCH] - Added checks if destination email belongs to user (email alias form and fetchmail/getmail form).
---
server/plugins-available/shelluser_base_plugin.inc.php | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/server/plugins-available/shelluser_base_plugin.inc.php b/server/plugins-available/shelluser_base_plugin.inc.php
index 54bba59..2924d49 100755
--- a/server/plugins-available/shelluser_base_plugin.inc.php
+++ b/server/plugins-available/shelluser_base_plugin.inc.php
@@ -162,7 +162,7 @@
exec($command);
$app->log("Executed command: $command ",LOGLEVEL_DEBUG);
*/
- //$groupinfo = posix_getgrnam($data['new']['pgroup']);
+ //$groupinfo = $app->system->posix_getgrnam($data['new']['pgroup']);
$app->system->usermod($data['old']['username'],0, $app->system->getgid($data['new']['pgroup']), $data['new']['dir'], $data['new']['shell'], $data['new']['password'], $data['new']['username']);
$app->log("Updated shelluser: ".$data['old']['username'],LOGLEVEL_DEBUG);
--
Gitblit v1.9.1