Late night hacking...?

This commit is contained in:
2025-07-15 05:45:01 +00:00
parent 69f68d6930
commit fb898193e2
4 changed files with 4 additions and 4 deletions
+3 -3
View File
@@ -25,12 +25,12 @@ from fastapi.responses import (
from fastapi.staticfiles import StaticFiles
from ..db import sql
from .api_handlers import (
from .api import (
register_api_routes,
validate_token,
)
from .reset_handlers import register_reset_routes
from .ws_handlers import ws_app
from .reset import register_reset_routes
from .ws import ws_app
STATIC_DIR = Path(__file__).parent.parent / "frontend-build"
@@ -88,7 +88,7 @@ def register_reset_routes(app: FastAPI):
return RedirectResponse(url="/", status_code=303)
async def use_device_addition_token(token: str) -> dict:
async def use_reset_token(token: str) -> dict:
"""Delete a device addition token after successful use."""
try:
# Get session token first to validate it exists and is not expired