[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,
|
key=self.secret_key,
|
||||||
algorithms=[self.algorithm],
|
algorithms=[self.algorithm],
|
||||||
options={
|
options={
|
||||||
'verify_signature': bool(PRODUCTION)
|
'verify_signature': True
|
||||||
})
|
})
|
||||||
|
|
||||||
if is_check_call:
|
if is_check_call:
|
||||||
|
|
Loading…
Reference in New Issue