mirror of
https://github.com/certbot/certbot.git
synced 2026-07-30 16:14:44 +02: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):
|
def get_chall_pref(self, domain):
|
||||||
# pylint: disable=unused-argument,missing-docstring
|
# 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
|
def perform(self, achalls): # pylint: disable=missing-docstring
|
||||||
if any(util.already_listening(port) for port in self._necessary_ports):
|
if any(util.already_listening(port) for port in self._necessary_ports):
|
||||||
|
|||||||
Reference in New Issue
Block a user