Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Two more fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
aytchell committed Jun 15, 2022
1 parent 8aa6a11 commit 395997e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions synapse/config/jwt.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

from synapse.types import JsonDict

from ._base import Config
from ._base import Config, ConfigError

MISSING_AUTHLIB = """Missing authlib library. This is required for jwt login.
Expand Down Expand Up @@ -45,7 +45,7 @@ def read_config(self, config: JsonDict, **kwargs: Any) -> None:
try:
from authlib.jose import JsonWebToken

JsonWebToken # To stop unused lint.
JsonWebToken # To stop unused lint.
except ImportError:
raise ConfigError(MISSING_AUTHLIB)
else:
Expand Down

0 comments on commit 395997e

Please sign in to comment.