include password info
This commit is contained in:
parent
8d89ff832d
commit
f2639ca1ca
|
@ -15,7 +15,7 @@ class UsersEdit extends \Panel\Vhost {
|
||||||
|
|
||||||
parent::beforeRoute($f3);
|
parent::beforeRoute($f3);
|
||||||
$username = $f3->get('PARAMS.username');
|
$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'] == "") {
|
if ($user_array[0]['passwd'] == "") {
|
||||||
$user_array[0]['passwd'] = '(unavailable)';
|
$user_array[0]['passwd'] = '(unavailable)';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user