[lib.jwtMw] verify signature even if halfapi is in DEBUG mode

This commit is contained in:
Maxime Alves LIRMM 2021-06-15 11:16:23 +02:00
parent e208728d7e
commit aa7ec62c7a
1 changed files with 1 additions and 1 deletions

View File

@ -140,7 +140,7 @@ class JWTAuthenticationBackend(AuthenticationBackend):
key=self.secret_key,
algorithms=[self.algorithm],
options={
'verify_signature': bool(PRODUCTION)
'verify_signature': True
})
if is_check_call: