Skip to content

Chore: Remove the unused register API#6870

Merged
david-livefront merged 1 commit into
mainfrom
remove-unused-register-api
May 4, 2026
Merged

Chore: Remove the unused register API#6870
david-livefront merged 1 commit into
mainfrom
remove-unused-register-api

Conversation

@david-livefront
Copy link
Copy Markdown
Collaborator

🎟️ Tracking

N/A

📔 Objective

This PR removes the identityService.register API from the app, it it no longer supported and should have been removed when the email verification feature flag was removed.

@david-livefront david-livefront requested a review from a team as a code owner May 4, 2026 19:14
@github-actions github-actions Bot added app:password-manager Bitwarden Password Manager app context app:authenticator Bitwarden Authenticator app context t:tech-debt Change Type - Tech debt labels May 4, 2026
masterPassword: String,
masterPasswordHint: String?,
emailVerificationToken: String?,
emailVerificationToken: String,
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

There is no location in the app that passes in a null emailVerificationToken so the call to identityService.register never actual occurs.

)
.flatMap { registerKeyResponse ->
if (emailVerificationToken == null) {
// TODO PM-6675: Remove register call and service implementation
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

This ticket was already marked as done

@codecov
Copy link
Copy Markdown

codecov Bot commented May 4, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 85.54%. Comparing base (8223fb3) to head (1bb28b9).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #6870      +/-   ##
==========================================
- Coverage   85.55%   85.54%   -0.02%     
==========================================
  Files         840      840              
  Lines       59753    59728      -25     
  Branches     8720     8717       -3     
==========================================
- Hits        51124    51094      -30     
- Misses       5631     5634       +3     
- Partials     2998     3000       +2     
Flag Coverage Δ
app-data 17.56% <100.00%> (-0.03%) ⬇️
app-ui-auth-tools 20.05% <0.00%> (+<0.01%) ⬆️
app-ui-platform 15.79% <0.00%> (+<0.01%) ⬆️
app-ui-vault 25.69% <0.00%> (+0.01%) ⬆️
authenticator 6.58% <0.00%> (+0.01%) ⬆️
lib-core-network-bridge 4.23% <0.00%> (-0.04%) ⬇️
lib-data-ui 1.02% <0.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@david-livefront david-livefront force-pushed the remove-unused-register-api branch from d9af7f5 to 1bb28b9 Compare May 4, 2026 19:20
@david-livefront
Copy link
Copy Markdown
Collaborator Author

Thanks @SaintPatrck

@david-livefront david-livefront enabled auto-merge May 4, 2026 19:28
@david-livefront david-livefront added this pull request to the merge queue May 4, 2026
Merged via the queue into main with commit 6ba5159 May 4, 2026
25 checks passed
@david-livefront david-livefront deleted the remove-unused-register-api branch May 4, 2026 19:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

app:authenticator Bitwarden Authenticator app context app:password-manager Bitwarden Password Manager app context t:tech-debt Change Type - Tech debt

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants