Prefix Ntfy titles with app name and remove startup notification

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
derekcandClaude Opus 5.5 committed 2026-10-14 07:42:06 -07:00
1 parent acfa21ec38
commit 5b7d689453
5 files changed
+6 -9

No files matched your search

+2 -2
View File
@@ -37,7 +37,7 @@ async def register(request: Request, body: UserCreate, db: AsyncSession = Depend
await db.refresh(user)
logger.info("New user registered: %s", body.email)
await notify("New registration", f"User registered: {body.email}", priority="default")
await notify("New Registration", f"User registered: {body.email}", priority="default")
return Token(access_token=create_token(user.id))
@@ -57,5 +57,5 @@ async def login(request: Request, body: LoginRequest, db: AsyncSession = Depends
logger.info("Login: %s (id=%s)", body.email, user.id)
if user.is_admin:
await notify("Admin login", f"Admin login: {body.email}", priority="high")
await notify("Admin Login", f"Admin login: {body.email}", priority="high")
return Token(access_token=create_token(user.id))