Add archived account deletion with DeleteMe API and UI - #75
Merged
Conversation
Terraform Plan ResultsTerraform Plan OutputPusher: @legokichi, Action: |
Move deleted user data into deleted_* tables instead of hard-deleting it, clear active OAuth identities so the same provider can register a new account, and expose self-service deletion from the home and login pages with CSRF protection and confirmation checks.
legokichi
force-pushed
the
codex/account-delete-archive
branch
from
June 11, 2026 20:10
df5913b to
23fcd80
Compare
Terraform Plan ResultsTerraform Plan OutputPusher: @legokichi, Action: |
Remove POST /account/delete and route deletion through /api/delete_me with nickname and confirmation validation in the service layer. The static account page now calls the server fn via fetch and then logs out.
Terraform Plan ResultsTerraform Plan OutputPusher: @legokichi, Action: |
Use Leptos islands on / and /login so AccountDeleteForm runs in WASM via ServerAction<DeleteMe> instead of inline fetch JavaScript. Static pages load HydrationScripts in islands mode; /app keeps full hydration.
Terraform Plan ResultsTerraform Plan OutputPusher: @legokichi, Action: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
deleted_*archive tables and move user-related data there on account deletion instead of hard-deleting itDeleteMethrough the service layer and/api/delete_meserver fn/and/loginwith CSRF protection, nickname confirmation, and an explicit acknowledgement checkboxTest plan
make testmake clippy/user_idis createdDeleteMe