Add testing keys in .env.example

This commit is contained in:
2026-06-06 11:18:24 +02:00
parent 871e3f4d0a
commit 9985251584
2 changed files with 14 additions and 2 deletions

View File

@@ -10,9 +10,12 @@ import jwt
from jwt.exceptions import InvalidTokenError
from ..model.models import UserDB, Token, TokenData, UserCreate
from ..services.database import *
import secrets, string
import secrets, string, os
SECRET_KEY = "8b14d0b447bff7efa24d5019cc59a999786e31f6f865173bbd642bf18de5ad85" #Encrypt and change later or store in env file or somehthing
from dotenv import load_dotenv
load_dotenv()
SECRET_KEY = os.getenv("SECRET_KEY")
ALGORITHM = "HS256"
ACCESS_TOKEN_EXPIRE_MINUTES = 120