auth.py is a duplication of google.py; rename jwt.py -> tokens.py avoid confuse with pyjwt
This commit is contained in:
+1
-1
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user