summaryrefslogtreecommitdiff
path: root/mailnews
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 /mailnews
parentf3611104b357c4c40fb51438ce82c972dd0f4247 (diff)
downloaduxp-ecdfbc692322ccc0f2dbc8811fee8282cf125b3b.tar.gz
Issue #1258 - Follow up to Part 8: Ifdef MailNews OAuth2 Support
Ifdef second authOAuth2 string in emailWizard.js
Diffstat (limited to 'mailnews')
-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 55ca8f93c2..2e4a44e2a0 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");