Token validation
This commit is contained in:
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user