mirror of
https://github.com/certbot/certbot.git
synced 2026-01-21 19:01:07 +03:00
Don't randomize challenge preference
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user