Enable "sms" transport for +98

This commit is contained in:
Chris Eager authored and Chris Eager committed 2021-07-26 10:40:05 -05:00
1 parent 31bbbbb5e0
commit 8f41176c76
1 file changed
-4
@@ -222,10 +222,6 @@ public class AccountController {
throw new WebApplicationException(Response.status(400).build());
}
if (number.startsWith("+98")) {
transport = "voice";
}
String requester = ForwardedIpUtil.getMostRecentProxy(forwardedFor).orElseThrow();
Optional<StoredVerificationCode> storedChallenge = pendingAccounts.getCodeForNumber(number);