mirror of
https://github.com/webmin/webmin.git
synced 2026-02-03 06:03:28 +00:00
Fix another use of nocreateuser permission https://github.com/webmin/webmin/issues/449
This commit is contained in:
@@ -13,7 +13,10 @@ if ($config{'sync_create'}) {
|
||||
if ($_[0]->{'passmode'} == 3) {
|
||||
$sql .= " with password '$_[0]->{'plainpass'}'";
|
||||
}
|
||||
$sql .= " nocreatedb nocreateuser";
|
||||
$sql .= " nocreatedb";
|
||||
if (&get_postgresql_version() < 9.5) {
|
||||
$sql .= " nocreateuser";
|
||||
}
|
||||
&execute_sql_logged($config{'basedb'}, $sql);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user