Fix: Database connection recreated on Login and Logout callbacks to prevent error due to previous session closing.
This commit is contained in:
@@ -32,7 +32,7 @@ from pydantic import BaseModel, ConfigDict
|
|||||||
from typing import ClassVar
|
from typing import ClassVar
|
||||||
from datetime import datetime
|
from datetime import datetime
|
||||||
|
|
||||||
# db = SQLAlchemy()
|
db = SQLAlchemy()
|
||||||
|
|
||||||
|
|
||||||
class DataStore_User(DataStore_Base):
|
class DataStore_User(DataStore_Base):
|
||||||
|
|||||||
Reference in New Issue
Block a user