Skip to content

Feature/migrate guest account - #193

Closed
diasDominik wants to merge 2 commits into
mainfrom
feature/migrate-guest-account
Closed

Feature/migrate guest account#193
diasDominik wants to merge 2 commits into
mainfrom
feature/migrate-guest-account

Conversation

@diasDominik

Copy link
Copy Markdown
Collaborator

No description provided.

@diasDominik
diasDominik force-pushed the feature/migrate-guest-account branch from c3c863b to a7be87a Compare June 26, 2026 18:53
@DennisBauer DennisBauer added the feature New feature or request label Jun 27, 2026
Adds AuthService.migrateToRegistered(email, password) for converting a
guest account into a registered one via POST /api/auth/migrate-to-registered.
The Ktor implementation updates the cached session user in place (mirroring
changeUsername) so userType flips to REGISTERED immediately. Also extends
FakeAuthService for tests.
Adds an Account-section row, shown only for guest accounts, that opens a
form to create a real account (email + password + confirm). On success the
user lands on an informational verify-email screen with resend; actual
verification stays on the existing email-link deep-link flow.

A CONFLICT from the server maps to a neutral message rather than confirming
the email is taken, to avoid account enumeration.

Includes nav keys/wiring and MigrateAccountViewModel unit tests.
@diasDominik
diasDominik force-pushed the feature/migrate-guest-account branch from a7be87a to c711c32 Compare June 28, 2026 14:06
@DennisBauer

Copy link
Copy Markdown
Contributor

Handled within #326

@DennisBauer DennisBauer closed this Aug 3, 2026
@DennisBauer
DennisBauer deleted the feature/migrate-guest-account branch August 3, 2026 16:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants