Skip to content

Commit 82df79e

Browse files
2 parents f4970a3 + b071ba8 commit 82df79e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Backend/FastAPI/routers/jwt_oauth_users.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,7 @@ async def oauth_user(token : str = Depends(OAuth2)):
139139
detail = " El Token ha expirado ❌ "
140140
)
141141

142+
# except JWTError:
142143
except JWTError: # Captura cualquier otro error relacionado con JWT.
143144
# Si no se encuentra, se devuelve un error 400 (Bad Resquest).
144145
raise HTTPException(

0 commit comments

Comments
 (0)