♑✏️
- feature access/refresh tokens auth
This commit is contained in:
@@ -6,6 +6,8 @@ import jinja2
|
||||
|
||||
SECRET_KEY = os.getenv("SECRET_KEY", "nexhome-dev-secret-key-change-in-production")
|
||||
ALGORITHM = "HS256"
|
||||
ACCESS_TOKEN_EXPIRE_MINUTES = 30
|
||||
REFRESH_TOKEN_EXPIRE_DAYS = 7
|
||||
|
||||
# Disable Jinja2 cache to work around Python 3.14 compatibility issue
|
||||
_loader = jinja2.FileSystemLoader("templates")
|
||||
|
||||
Reference in New Issue
Block a user