mirror of
https://github.com/webmin/webmin.git
synced 2026-03-20 16:50:24 +00:00
Fix to call update config in the right context (rename)
This commit is contained in:
@@ -1646,7 +1646,10 @@ else {
|
||||
$host, $user,
|
||||
$oldhost, $olduser);
|
||||
}
|
||||
|
||||
&update_config_credentials({
|
||||
'user', $user,
|
||||
'olduser', $user_current,
|
||||
});
|
||||
&execute_sql_logged($master_db, 'flush privileges');
|
||||
}
|
||||
|
||||
|
||||
@@ -120,10 +120,6 @@ if (!$in{'delete'} && !$in{'new'} &&
|
||||
'host', $host,
|
||||
'oldhost', $host,
|
||||
});
|
||||
&update_config_credentials({
|
||||
'user', $user,
|
||||
'olduser', $user_current,
|
||||
});
|
||||
$user_current = $user;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user