Token validation
This commit is contained in:
parent
d541b80cf2
commit
37897ef255
@ -31,8 +31,6 @@ class LoginClass:
|
|||||||
|
|
||||||
jwt = bearer.split()[1]
|
jwt = bearer.split()[1]
|
||||||
|
|
||||||
print(jwt)
|
|
||||||
|
|
||||||
try:
|
try:
|
||||||
PyJwtValidator(jwt)
|
PyJwtValidator(jwt)
|
||||||
except PyJwtException as e:
|
except PyJwtException as e:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user