X-Git-Url: https://git.proxmox.com/?p=pve-client.git;a=blobdiff_plain;f=PVE%2FAPIClient%2FConfig.pm;h=3f2efe596100db9d7ab27917e7a5927c5177f012;hp=ab84695d31875ad98a86c9a07a88d058dd579adb;hb=269f8ffa5a9a5bfc67bff1682cc1cc3c39458d95;hpb=cbfba90bd8bd7ef135488c63d1f618e71572c53e diff --git a/PVE/APIClient/Config.pm b/PVE/APIClient/Config.pm index ab84695..3f2efe5 100644 --- a/PVE/APIClient/Config.pm +++ b/PVE/APIClient/Config.pm @@ -6,6 +6,7 @@ use JSON; use PVE::APIClient::JSONSchema; use PVE::APIClient::SectionConfig; +use PVE::APIClient::PTY; use PVE::APIClient::Tools qw(file_get_contents file_set_contents); use base qw(PVE::APIClient::SectionConfig); @@ -143,7 +144,7 @@ sub remote_conn { my $password = $section->{password}; if (!defined($password)) { - $password = PVE::PTY::read_password("Remote password: ") + $password = PVE::APIClient::PTY::read_password("Remote password: ") } my $conn = PVE::APIClient::LWP->new(