summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt A. Tobin <email@mattatobin.com>2019-11-12 23:39:44 -0500
committerMatt A. Tobin <email@mattatobin.com>2019-11-12 23:39:44 -0500
commitecdfbc692322ccc0f2dbc8811fee8282cf125b3b (patch)
tree387c5c6719fe494e8e2b7352e7e613429a6da070
parentf3611104b357c4c40fb51438ce82c972dd0f4247 (diff)
downloadUXP-ecdfbc692322ccc0f2dbc8811fee8282cf125b3b.tar
UXP-ecdfbc692322ccc0f2dbc8811fee8282cf125b3b.tar.gz
UXP-ecdfbc692322ccc0f2dbc8811fee8282cf125b3b.tar.lz
UXP-ecdfbc692322ccc0f2dbc8811fee8282cf125b3b.tar.xz
UXP-ecdfbc692322ccc0f2dbc8811fee8282cf125b3b.zip
Issue #1258 - Follow up to Part 8: Ifdef MailNews OAuth2 Support
Ifdef second authOAuth2 string in emailWizard.js
-rw-r--r--mailnews/base/prefs/content/accountcreation/emailWizard.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/mailnews/base/prefs/content/accountcreation/emailWizard.js b/mailnews/base/prefs/content/accountcreation/emailWizard.js
index 55ca8f93c..2e4a44e2a 100644
--- a/mailnews/base/prefs/content/accountcreation/emailWizard.js
+++ b/mailnews/base/prefs/content/accountcreation/emailWizard.js
@@ -196,7 +196,9 @@ EmailConfigWizard.prototype =
"authPasswordEncrypted");
setLabelFromStringBundle("out-authMethod-kerberos", "authKerberos");
setLabelFromStringBundle("out-authMethod-ntlm", "authNTLM");
+#ifdef MOZ_MAILNEWS_OAUTH2
setLabelFromStringBundle("out-authMethod-oauth2", "authOAuth2");
+#endif
e("incoming_port").value = gStringsBundle.getString("port_auto");
this.fillPortDropdown("smtp");