From 970ab13258fa700d4685227c2ca77d576312c2c6 Mon Sep 17 00:00:00 2001 From: Backend IM Bot Date: Wed, 19 Mar 2025 17:35:43 +0000 Subject: [PATCH] Update code in endpoints/login.post.py --- endpoints/login.post.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/endpoints/login.post.py b/endpoints/login.post.py index df5aa08..b154ffe 100644 --- a/endpoints/login.post.py +++ b/endpoints/login.post.py @@ -1,5 +1,4 @@ from fastapi import APIRouter, Depends, HTTPException -from core.auth import get_current_user_dummy from core.database import fake_users_db router = APIRouter() @@ -15,11 +14,11 @@ async def login_demo( raise HTTPException(status_code=400, detail="Invalid credentials") return { - "message": "Login successful (demo)", + "message": "User logged in successfully", "user": username, "token": "dummy_jwt_token_123", "features": { "rate_limit": 100, "expires_in": 3600 } - } + } \ No newline at end of file