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
commit26a5aa68229a6918bb4ed7b73b6c2cf899334d84 (patch)
tree387c5c6719fe494e8e2b7352e7e613429a6da070 /mailnews
parent00e3959e1b724303fb98f6b98e138e58e2eeadbb (diff)
downloadaura-central-26a5aa68229a6918bb4ed7b73b6c2cf899334d84.tar.gz
Issue mcp-graveyard/UXP%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 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");