-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
ISSUE_NUMBER: GH-2
Description
The current data deletion request process relies on a mailto: link, which has limitations in terms of user input, potential security concerns, and lack of confirmation.
File: repositories/leadllyin/src/app/privacy-policy/page.tsx
Line: 5
Severity: medium
Current Behavior
The handleRequestDeletion function generates a mailto: link to pre-populate an email.
Expected Behavior
The data deletion request process should provide a better user experience with the ability to customize the request, provide confirmation, and address potential security concerns.
Suggested Fix
Implement a form within the privacy policy page that allows users to:
- Enter their name and email address.
- Add a custom message to the data deletion request.
- Receive a confirmation message upon submission.
This form should then send the data deletion request to the support team via an API call.
Code Context
const handleRequestDeletion = () => {
window.location.href =
"mailto:support@leadlly.in?subject=Data Deletion Request&body=Dear Leadlly Edusolutions Support Team,%0D%0A%0D%0AI would like to request the deletion of all my personal data held by Leadlly Edusolutions as per your Privacy Policy.%0D%0A%0D%0APlease confirm the deletion process and notify me once it has been completed.%0D%0A%0D%0AThank you.%0D%0A%0D%0ARegards,%0D%0A[Your Name]";
};Additional Notes
This change will improve the user experience and provide a more secure and reliable data deletion request process.
Reactions are currently unavailable