refactor: remove commented sections and clean up code in various files

This commit is contained in:
Mireya Cueto Garrido
2026-04-15 08:57:04 +02:00
parent 658b86c067
commit ecc82011ea
11 changed files with 0 additions and 69 deletions
-8
View File
@@ -14,10 +14,6 @@ GOOGLE_CLIENT_SECRET = os.getenv("GOOGLE_CLIENT_SECRET")
REDIRECT_URI = os.getenv("GOOGLE_REDIRECT_URI")
SECRET_KEY = os.getenv("SECRET_KEY")
# -----------------------------
# 1. LOGIN → REDIRECCIÓN A GOOGLE
# -----------------------------
@router.get("/login")
async def google_login():
google_auth_url = (
@@ -32,10 +28,6 @@ async def google_login():
return RedirectResponse(google_auth_url)
# -----------------------------
# 2. CALLBACK → GOOGLE DEVUELVE EL CODE
# -----------------------------
@router.get("/callback")
async def google_callback(request: Request):