Don't randomize challenge preference

This commit is contained in:
Joe Ranweiler 2015-12-02 22:13:05 -08:00
parent 144a678473
commit a0142dbe44

View file

@ -198,9 +198,7 @@ class Authenticator(common.Plugin):
def get_chall_pref(self, domain):
# pylint: disable=unused-argument,missing-docstring
chall_pref = list(self.supported_challenges)
random.shuffle(chall_pref) # 50% for each challenge
return chall_pref
return SUPPORTED_CHALLENGES
def perform(self, achalls): # pylint: disable=missing-docstring
if any(util.already_listening(port) for port in self._necessary_ports):