mirror of
https://github.com/certbot/certbot.git
synced 2026-01-21 19:01:07 +03:00
Respect config when stating challenge preferences
This commit is contained in:
@@ -197,7 +197,8 @@ class Authenticator(common.Plugin):
|
||||
|
||||
def get_chall_pref(self, domain):
|
||||
# pylint: disable=unused-argument,missing-docstring
|
||||
return SUPPORTED_CHALLENGES
|
||||
return [chall for chall in SUPPORTED_CHALLENGES
|
||||
if chall in 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