diff --git a/xCAT-server/xCAT-wsapi/xcatws.cgi b/xCAT-server/xCAT-wsapi/xcatws.cgi index fa39092a1..0e1683933 100755 --- a/xCAT-server/xCAT-wsapi/xcatws.cgi +++ b/xCAT-server/xCAT-wsapi/xcatws.cgi @@ -209,8 +209,8 @@ sub extractData { } } -my $userName; -my $password; +my $userName=http('userName'); +my $password=http('password'); sub handleRequest { if (defined $queryhash{'userName'}) {