Added: CSS template switch in Dashboard.

This commit is contained in:
2025-11-17 03:06:25 +01:00
parent d72e27ad2e
commit 43b8610aa6
5 changed files with 68 additions and 5 deletions

View File

@@ -99,6 +99,9 @@ async def auth_twitch_callback(code: str, state: str, request: Request, db: Sess
encrypted_tokens=encrypted_tokens
)
db.add(user)
# Also create a default settings object for the new user
new_settings = models.Setting(owner=user)
db.add(new_settings)
db.commit()