sjyangkevin commented on code in PR #77619:
URL: https://github.com/apache/airflow/pull/77619#discussion_r4710406033


##########
providers/fab/src/airflow/providers/fab/auth_manager/api_fastapi/routes/login.py:
##########
@@ -129,18 +131,17 @@ def create_token_cli(request: Request, body: dict[str, 
Any] = Body(...)) -> Logi
     status_code=status.HTTP_307_TEMPORARY_REDIRECT,
 )
 def logout(request: Request) -> RedirectResponse:
-    """Clear session cookies and redirect to the login page."""
+    """Clear the API token cookie and redirect to the Flask logout view, which 
ends the session."""
     with _get_flask_app().app_context(), _release_scoped_session():

Review Comment:
   thanks for catching it. The block is removed and tests have been updated.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to