Remove library selection and default theme

This commit is contained in:
Koha9
2025-06-20 22:32:05 +09:00
parent 75a413667d
commit 83c5780c57
4 changed files with 6 additions and 15 deletions
+2 -3
View File
@@ -32,13 +32,12 @@ async def login(
user: str = Form(...),
pw: str = Form(...),
url: str = Form(...),
port: str = Form("32400"),
library: str = Form(...)
port: str = Form("32400")
):
config = load_config()
theme = config.get("theme", "auto")
try:
connect_plex(config, user, pw, url, port, library)
connect_plex(config, user, pw, url, port)
save_config(config)
return templates.TemplateResponse(
"login.html",