Merge pull request #107 from christianlouis/copilot/check-mailbox-credentials

Fix: Test Connection always reports success regardless of auth result
This commit is contained in:
Christian Krakau-Louis
2026-03-28 20:14:42 +01:00
committed by GitHub
5 changed files with 83 additions and 17 deletions
+12
View File
@@ -17,6 +17,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## v0.2.2 (2026-03-28)
### Bug Fixes
- **Test Connection always showed "success"**: frontend never checked the `success` field
returned by the backend — any HTTP 200 response (including `{success: false}`) was
displayed as "Connection successful!". Now the actual `success` value is checked and
authentication failures are shown as errors with the server's message.
- **Test Connection in edit mode required password re-entry**: added backend endpoint
`POST /mail-accounts/{account_id}/test` that decrypts and uses the stored credentials
so existing accounts can be tested without re-typing the password.
### Bug Fixes
- Resolve semantic-release CHANGELOG.md not updating properly