mirror of
https://github.com/certbot/certbot.git
synced 2026-04-29 18:19:51 -04:00
Respect config when stating challenge preferences
This commit is contained in:
parent
8cf47e3aba
commit
dbf181ebac
1 changed files with 2 additions and 1 deletions
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Reference in a new issue