-
Notifications
You must be signed in to change notification settings - Fork 11
cancel request account deletion #376
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
46720b1 to
5b9be7a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR implements the ability for users to cancel their pending account deletion requests. Users who have submitted an account deletion request can now revoke it through the account settings page.
- Added a new
cancel_account_deletion_requestform handler in the account management workflow - Implemented
cancelRequestAccountDeletion()method inUnityUserclass - Updated UI to display a cancel button when a deletion request is pending
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 4 comments.
| File | Description |
|---|---|
| webroot/panel/account.php | Added case handler for cancel requests and restructured UI to show cancel form when deletion request is pending |
| resources/lib/UnityUser.php | Added cancelRequestAccountDeletion() method to delete pending account deletion requests |
| test/functional/AccountDeletionRequestTest.php | Added test case to verify request and cancel workflow |
| test/phpunit-bootstrap.php | Added helper function to ensure test users have no pending deletion requests |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
bb23daa to
aff8c1e
Compare
Screen.Recording.2025-12-10.at.5.14.07.PM.mov