Issue #1258 - Follow up to Part 8: Ifdef MailNews OAuth2 Support

Ifdef second authOAuth2 string in emailWizard.js
This commit is contained in:
Matt A. Tobin 2019-11-12 23:39:44 -05:00 • committed by Roy Tam
commit 1953b80007

View file

@ -196,7 +196,9 @@ EmailConfigWizard.prototype =
"authPasswordEncrypted"); "authPasswordEncrypted");
setLabelFromStringBundle("out-authMethod-kerberos", "authKerberos"); setLabelFromStringBundle("out-authMethod-kerberos", "authKerberos");
setLabelFromStringBundle("out-authMethod-ntlm", "authNTLM"); setLabelFromStringBundle("out-authMethod-ntlm", "authNTLM");
#ifdef MOZ_MAILNEWS_OAUTH2
setLabelFromStringBundle("out-authMethod-oauth2", "authOAuth2"); setLabelFromStringBundle("out-authMethod-oauth2", "authOAuth2");
#endif
e("incoming_port").value = gStringsBundle.getString("port_auto"); e("incoming_port").value = gStringsBundle.getString("port_auto");
this.fillPortDropdown("smtp"); this.fillPortDropdown("smtp");