mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-18 20:59:30 +01:00
feat: config.json db migration
This commit is contained in:
@@ -10,12 +10,12 @@ from datetime import datetime, timedelta, UTC
|
||||
import jwt
|
||||
import uuid
|
||||
import logging
|
||||
import config
|
||||
from env import WEBUI_SECRET_KEY
|
||||
|
||||
logging.getLogger("passlib").setLevel(logging.ERROR)
|
||||
|
||||
|
||||
SESSION_SECRET = config.WEBUI_SECRET_KEY
|
||||
SESSION_SECRET = WEBUI_SECRET_KEY
|
||||
ALGORITHM = "HS256"
|
||||
|
||||
##############
|
||||
|
||||
Reference in New Issue
Block a user