Skip to content

Add option for users to merge trial accounts with phone-number–linked accounts on upgrade flow#462

Closed
Nodirbek75 wants to merge 2 commits into
mainfrom
fix/trial-account-lost
Closed

Add option for users to merge trial accounts with phone-number–linked accounts on upgrade flow#462
Nodirbek75 wants to merge 2 commits into
mainfrom
fix/trial-account-lost

Conversation

@Nodirbek75
Copy link
Copy Markdown
Contributor

No description provided.

@Nodirbek75 Nodirbek75 marked this pull request as draft August 20, 2025 05:47
@Nodirbek75 Nodirbek75 added enhancement New feature or request question Further information is requested Waiting on backend labels Sep 29, 2025
@Nodirbek75 Nodirbek75 self-assigned this Sep 29, 2025
@islandbitcoin
Copy link
Copy Markdown
Contributor

The PR lnflash/flash#237 sets the PHONE_ACCOUNT_ALREADY_EXISTS_NEED_TO_SWEEP_FUNDS_ERROR correctly now, which the UI is ready expecting.

So we will no longer have orphaned accounts, and no need to try and merge when this happens.

A better long term solution to this would be to have the UI give the user the option to sweep the funds instead of just giving an error, but this would include them having to choose usernames, npubs, etc. Very complex problem to solve so I think the best solution for now is to block the user from successfully submitting existing account phone numbers

@Nodirbek75 Leaving this PR open, so we can discuss more.

@Nodirbek75 Nodirbek75 closed this Nov 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request question Further information is requested Waiting on backend

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] - Trial account is lost when logging in with existing phone number

2 participants