Skip to content

Commit d062c99

Browse files
committed
Fixed min_uid bug when deleting users.
1 parent af1c095 commit d062c99

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/plugins-available/shelluser_base_plugin.inc.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ function delete($event_name,$data) {
126126

127127
// Get the UID of the user
128128
$userid = intval($app->system->getuid($data['old']['username']));
129-
if($userid > 999) {
129+
if($userid > $this->min_uid) {
130130
$command = 'userdel';
131131
$command .= ' '.escapeshellcmd($data['old']['username']);
132132

0 commit comments

Comments
 (0)