[lib.jwtMw] verify signature even if halfapi is in DEBUG mode
This commit is contained in:
parent
e208728d7e
commit
aa7ec62c7a
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue