master
ifiguero 2024-07-30 15:48:14 -04:00
parent dbaa8ebcfe
commit 99d55c0b36
1 changed files with 1 additions and 1 deletions

View File

@ -112,7 +112,7 @@ def recuperar(request):
def info_token(request):
input = json.loads(request.body)
token = input['token']
logger.warning(input)
logging.warning(input)
try:
decoded = jwt.decode(token, SECRET_KEY, algorithms=["HS256"])
persona = models.Persona.objects.filter(rut=decoded['rut']).first()