don't set rh_username and rh_password in the license upload

This commit is contained in:
Ryan Petrello
2019-11-16 16:55:39 -05:00
parent f049b61460
commit 9458741b72
2 changed files with 21 additions and 4 deletions

View File

@@ -187,10 +187,6 @@ export default
payload = $scope.newLicense.file;
} else if ($scope.selectedLicense.fullLicense) {
payload = $scope.selectedLicense.fullLicense;
if ($scope.rhCreds.username && $scope.rhCreds.password) {
payload.rh_password = $scope.rhCreds.password;
payload.rh_username = $scope.rhCreds.username;
}
}
CheckLicense.post(payload, $scope.newLicense.eula)