From ecdfbc692322ccc0f2dbc8811fee8282cf125b3b Mon Sep 17 00:00:00 2001
From: "Matt A. Tobin" <email@mattatobin.com>
Date: Tue, 12 Nov 2019 23:39:44 -0500
Subject: Issue #1258 - Follow up to Part 8: Ifdef MailNews OAuth2 Support

Ifdef second authOAuth2 string in emailWizard.js
---
 mailnews/base/prefs/content/accountcreation/emailWizard.js | 2 ++
 1 file changed, 2 insertions(+)

(limited to 'mailnews/base/prefs/content/accountcreation')

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");
-- 
cgit v1.2.3