lib/openc3/io/json_api_object.rb in openc3-5.11.0 vs lib/openc3/io/json_api_object.rb in openc3-5.11.1
- old
+ new
@@ -70,10 +70,10 @@
end
# generate the auth object
def generate_auth
if ENV['OPENC3_API_TOKEN'].nil? and ENV['OPENC3_API_USER'].nil?
- if ENV['OPENC3_API_PASSWORD'] || ENV['OPENC3_SERVICE_PASSWORD']
+ if ENV['OPENC3_API_PASSWORD']
return OpenC3Authentication.new()
else
return nil
end
else