mirror of
https://github.com/certbot/certbot.git
synced 2026-07-27 08:09:10 +02:00
Derive preference order from supported_challenges order
This commit is contained in:
@@ -197,8 +197,7 @@ class Authenticator(common.Plugin):
|
||||
|
||||
def get_chall_pref(self, domain):
|
||||
# pylint: disable=unused-argument,missing-docstring
|
||||
return [chall for chall in SUPPORTED_CHALLENGES
|
||||
if chall in self.supported_challenges]
|
||||
return self.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