twilio / twilio-java

A Java library for communicating with the Twilio REST API and generating TwiML.
MIT License
484 stars 425 forks source link

fix: reset account sid when using username and password only #692

Closed aarya-brex closed 2 years ago

aarya-brex commented 2 years ago

Fixes

Following https://github.com/twilio/twilio-java/pull/688, we should sets account sid to null if it's not used for current form of authentication

Checklist

If you have questions, please file a support ticket, or create a GitHub Issue in this repository.

aarya-brex commented 2 years ago

@childish-sambino, found a potential corner case that may confuse folks