Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.
Python agentagentic-aiagentic-frameworkagentic-workflowaiautomationclaudedeepseekgenaigptllmlow-codemcpnextjsno-codeopenaipythonskillsworkflow
fix: remove login status api (#27177)
Yunlu Wenff9b74efeb2d
diff --git a/api/controllers/console/auth/login.py b/api/controllers/console/auth/login.pyindex 277f9a60a84..f371613bee4 100644--- a/api/controllers/console/auth/login.py+++ b/api/controllers/console/auth/login.py@@ -29,8 +29,6 @@ from libs.token import (clear_access_token_from_cookie,clear_csrf_token_from_cookie,clear_refresh_token_from_cookie,- extract_access_token,- extract_csrf_token,set_access_token_to_cookie,set_csrf_token_to_cookie,set_refresh_token_to_cookie,@@ -286,13 +284,3 @@ class RefreshTokenApi(Resource):return responseexcept Exception as e:return {"result": "fail", "message": str(e)}, 401---# this api helps frontend to check whether user is authenticated-# TODO: remove in the future. frontend should redirect to login page by catching 401 status-@console_ns.route("/login/status")-class LoginStatus(Resource):- def get(self):- token = extract_access_token(request)- csrf_token = extract_csrf_token(request)- return {"logged_in": bool(token) and bool(csrf_token)}