Spaces:
Sleeping
Sleeping
Update src/routers/auth.py
Browse files114 unmodified lines115116117118119120121114 unmodified lines@router.post("/logout")def logout(response: Response):"""Logout user by clearing the access token cookie."""# Clear the access_token cookieresponse.set_cookie(114 unmodified lines115116117118119120121114 unmodified lines@router.post("/logout")def logout(request: Request, response: Response, current_user: User = Depends(get_current_user)):"""Logout user by clearing the access token cookie."""# Clear the access_token cookieresponse.set_cookie(
src/routers/auth.py+1-1