Skip to content

Commit e145742

Browse files
authored
fix: reset account sid when using username and password only (#692)
1 parent 087f309 commit e145742

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main/java/com/twilio/Twilio.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ public void run() {
6161
public static synchronized void init(final String username, final String password) {
6262
Twilio.setUsername(username);
6363
Twilio.setPassword(password);
64+
Twilio.setAccountSid(null);
6465
}
6566

6667
/**

0 commit comments

Comments
 (0)