Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions backend/src/baserow/api/user/schemas.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,14 @@

authenticated_user_response_schema = {
"oneOf": [
success_create_user_response_schema,
two_factor_required_response_schema,
{
"title": "Without two-factor authentication",
**success_create_user_response_schema,
},
{
"title": "With two-factor authentication",
**two_factor_required_response_schema,
},
],
}

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"type": "bug",
"message": "Improved the `token_auth` endpoint's response labels so that developers can differentiate between 2fa enabled and 2fa disabled responses.",
"issue_origin": "github",
"issue_number": null,
"domain": "core",
"bullet_points": [],
"created_at": "2025-12-30"
}
Loading