Skip to content

Commit 07fa033

Browse files
fix: correctly handle httpexceptions in session scope (#11542)
* Correctly handle httpexceptions in session scope * don't assume autologin for distributed envs, diff backends may have diff autologin settings, so don't assume config * [autofix.ci] apply automated fixes * simplify conditional logic * update comp index * [autofix.ci] apply automated fixes * [autofix.ci] apply automated fixes (attempt 2/3) --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
1 parent f849047 commit 07fa033

9 files changed

Lines changed: 661 additions & 733 deletions

File tree

src/backend/base/langflow/api/v1/login.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,9 +138,9 @@ async def auto_login(response: Response, db: DbSession):
138138
return tokens
139139

140140
raise HTTPException(
141-
status_code=status.HTTP_400_BAD_REQUEST,
141+
status_code=status.HTTP_403_FORBIDDEN,
142142
detail={
143-
"message": "Auto login is disabled. Please enable it in the settings",
143+
"message": "Auto login is disabled.",
144144
"auto_login": False,
145145
},
146146
)

src/backend/base/langflow/initial_setup/starter_projects/Social Media Agent.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@
149149
"dependencies": [
150150
{
151151
"name": "apify_client",
152-
"version": "2.4.0"
152+
"version": "2.4.1"
153153
},
154154
{
155155
"name": "langchain_community",
@@ -380,7 +380,7 @@
380380
"dependencies": [
381381
{
382382
"name": "apify_client",
383-
"version": "2.4.0"
383+
"version": "2.4.1"
384384
},
385385
{
386386
"name": "langchain_community",

src/backend/base/langflow/initial_setup/starter_projects/Youtube Analysis.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1697,7 +1697,7 @@
16971697
},
16981698
{
16991699
"name": "youtube_transcript_api",
1700-
"version": "1.2.3"
1700+
"version": "1.2.4"
17011701
},
17021702
{
17031703
"name": "lfx",

src/frontend/package-lock.json

Lines changed: 36 additions & 19 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)