Skip to content

Commit

Permalink
coretasks: fix SASL EXTERNAL without password set
Browse files Browse the repository at this point in the history
  • Loading branch information
half-duplex committed Nov 12, 2023
1 parent 69812a6 commit 9602028
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sopel/coretasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ def _handle_sasl_capability(
return plugin.CapabilityNegotiation.ERROR
# Check SASL configuration (password is required)
password, mech = _get_sasl_pass_and_mech(bot)
if not password:
if mech != "EXTERNAL" and not password:
raise config.ConfigurationError(
'SASL authentication required but no password available; '
'please check your configuration file.',
Expand Down

0 comments on commit 9602028

Please sign in to comment.