auth.py is a duplication of google.py; rename jwt.py -> tokens.py avoid confuse with pyjwt

This commit is contained in:
2026-05-19 23:23:21 +08:00
parent a073fa5962
commit 2b5e193046
6 changed files with 4 additions and 201 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
from fastapi import Request, HTTPException
import os
from .jwt import decode_token
from .tokens import decode_token
JWT_SECRET = os.getenv("JWT_SECRET")
JWT_ALGORITHM = os.getenv("JWT_ALGORITHM", "HS256")