[PR #7608] [MERGED] Disallow reconfiguring OpenID after initialization #49105

Closed
opened 2026-04-26 10:56:54 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/actualbudget/actual/pull/7608
Author: @jfdoming
Created: 4/24/2026
Status: Merged
Merged: 4/24/2026
Merged by: @jfdoming

Base: masterHead: jfdoming/disallow-openid-reconfigure


📝 Commits (2)

  • f52d934 Disallow reconfiguring OpenID after initialization
  • 7deee98 Add release notes

📊 Changes

5 files changed (+75 additions, -6 deletions)

View changed files

📝 packages/sync-server/src/accounts/openid.ts (+11 -2)
packages/sync-server/src/app-openid.test.ts (+43 -0)
📝 packages/sync-server/src/app-openid.ts (+13 -3)
📝 packages/sync-server/src/services/user-service.ts (+2 -1)
upcoming-release-notes/7608.md (+6 -0)

📄 Description

Description

As it says on the tin. The root cause was a bad object destructuring which was only possible due to lack of typing. Added a test and minimal types to prevent the error (leaving full TypeScript migration to a separate PR).

Testing

Existing tests pass, added a new test.

Checklist

  • Release notes added (see link above)
  • No obvious regressions in affected areas
  • Self-review has been performed - I understand what each change in the code does and why it is needed

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/actualbudget/actual/pull/7608 **Author:** [@jfdoming](https://github.com/jfdoming) **Created:** 4/24/2026 **Status:** ✅ Merged **Merged:** 4/24/2026 **Merged by:** [@jfdoming](https://github.com/jfdoming) **Base:** `master` ← **Head:** `jfdoming/disallow-openid-reconfigure` --- ### 📝 Commits (2) - [`f52d934`](https://github.com/actualbudget/actual/commit/f52d93491362cad75bd5e56dd7fd37e59712496b) Disallow reconfiguring OpenID after initialization - [`7deee98`](https://github.com/actualbudget/actual/commit/7deee9884c02024b73f0382f55ab843df53cab74) Add release notes ### 📊 Changes **5 files changed** (+75 additions, -6 deletions) <details> <summary>View changed files</summary> 📝 `packages/sync-server/src/accounts/openid.ts` (+11 -2) ➕ `packages/sync-server/src/app-openid.test.ts` (+43 -0) 📝 `packages/sync-server/src/app-openid.ts` (+13 -3) 📝 `packages/sync-server/src/services/user-service.ts` (+2 -1) ➕ `upcoming-release-notes/7608.md` (+6 -0) </details> ### 📄 Description <!-- Thank you for submitting a pull request! Make sure to follow the instructions to write release notes for your PR — it should only take a minute or two: https://github.com/actualbudget/docs#writing-good-release-notes. Try running yarn generate:release-notes *before* pushing your PR for an interactive experience. --> ## Description As it says on the tin. The root cause was a bad object destructuring which was only possible due to lack of typing. Added a test and minimal types to prevent the error (leaving full TypeScript migration to a separate PR). ## Related issue(s) <!-- e.g. Fixes #123, Relates to #456 --> ## Testing Existing tests pass, added a new test. ## Checklist - [x] Release notes added (see link above) - [x] No obvious regressions in affected areas - [x] Self-review has been performed - I understand what each change in the code does and why it is needed <!--- actual-bot-sections ---> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-26 10:56:54 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/actual#49105