Skip to content

fix(backend): relax tokens constraint to prevent silent account write-back bypass#44

Merged
Cmochance merged 1 commit into
mainfrom
fix/account-writeback
May 21, 2026
Merged

fix(backend): relax tokens constraint to prevent silent account write-back bypass#44
Cmochance merged 1 commit into
mainfrom
fix/account-writeback

Conversation

@Cmochance
Copy link
Copy Markdown
Owner

@Cmochance Cmochance commented May 20, 2026

Resolves the bug where logging in or adding an account card did not successfully write back the account details/labels to the backup cards. This was caused by an early return and strict token verification in load_auth_metadata_from_path which has now been resolved. Unit tests have been added to verify that API key and placeholder profiles parse and sync successfully.


Open in Devin Review

Copy link
Copy Markdown

@devin-ai-integration devin-ai-integration Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no potential bugs to report.

View in Devin Review to see 1 additional finding.

Open in Devin Review

@Cmochance Cmochance merged commit f56c00d into main May 21, 2026
4 checks passed
@Cmochance Cmochance deleted the fix/account-writeback branch May 21, 2026 12:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant