Remove library selection and default theme
This commit is contained in:
+2
-3
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user