[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [torbirdy/develop] Let us always disable remote account creation.



commit f15169e876225ac28aa3bea10d233c2035a16066
Author: anonym <anonym@xxxxxxxxxx>
Date:   Wed Mar 9 18:47:20 2016 +0100

    Let us always disable remote account creation.
    
    When the automatic configuration wizard is enabled we probably want to
    use *it*, and not the remote account creation feature. If that is
    something TorBirdys want to make enabled as an option, it should not
    be baked into this same pref.
    
    However, it probably is something TorBirdy should not encourage (at
    least we in Tails decided to disable it), so always hiding it seems
    like a good idea.
    
    This fixes Tails bug #10464:
    
        https://labs.riseup.net/code/issues/10464
---
 chrome/content/emailwizard.js | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/chrome/content/emailwizard.js b/chrome/content/emailwizard.js
index a82a188..f149446 100644
--- a/chrome/content/emailwizard.js
+++ b/chrome/content/emailwizard.js
@@ -124,12 +124,9 @@ if(!org.torbirdy.emailwizard) org.torbirdy.emailwizard = new function() {
   pub.onLoad = function() {
     if (disableWizard) {
       document.getElementById("torbirdy-protocol-box").collapsed = true;
-      document.getElementById("provisioner_button").disabled = false;
-      document.getElementById("provisioner_button").hidden = false;
-    } else {
-      document.getElementById("provisioner_button").disabled = true;
-      document.getElementById("provisioner_button").hidden = true;
     }
+    document.getElementById("provisioner_button").disabled = true;
+    document.getElementById("provisioner_button").hidden = true;
   };
 
   return pub;



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits