include password info

This commit is contained in:
Matthew Saunders Brown 2024-08-29 14:20:54 -07:00
parent 8d89ff832d
commit f2639ca1ca

View File

@ -15,7 +15,7 @@ class UsersEdit extends \Panel\Vhost {
parent::beforeRoute($f3);
$username = $f3->get('PARAMS.username');
if ($user_array = $f3->call('\Panel::vGet', array("vhost-user-get.sh -u $username -c", FALSE))) {
if ($user_array = $f3->call('\Panel::vGet', array("vhost-user-get.sh -u $username -c -v", FALSE))) {
if ($user_array[0]['passwd'] == "") {
$user_array[0]['passwd'] = '(unavailable)';
}