This commit is contained in:
Vassili Minaev 2026-01-15 17:58:34 -07:00
parent 5adeda88ff
commit 7e3d980aa8
2 changed files with 2 additions and 2 deletions

2
app.py
View file

@ -109,7 +109,7 @@ async def login(request: web.Request) -> web.Response:
password = str(form.get("password", "")) password = str(form.get("password", ""))
next_url = str(form.get("next", "/agents")) or "/agents" next_url = str(form.get("next", "/agents")) or "/agents"
if username == LOGIN_USER and password == LOGIN_PASS: if username.lower() == LOGIN_USER and password == LOGIN_PASS:
session = await get_session(request) session = await get_session(request)
session["authed"] = True session["authed"] = True
session["user"] = username session["user"] = username

View file

@ -94,7 +94,7 @@
display: grid; display: grid;
grid-template-columns: 92px 1fr; grid-template-columns: 92px 1fr;
gap: 12px; gap: 12px;
padding: 14px 14px 14px 14px; padding: 18px 14px 14px 14px;
color: inherit; color: inherit;
text-decoration: none; text-decoration: none;
} }