-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add api endpoint to allow requesting account deletion
- Loading branch information
1 parent
800fb83
commit 32464db
Showing
5 changed files
with
91 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Your account has been scheduled for deletion |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{{template "header"}} | ||
Hi {{.User.Name | fname}},<br /> | ||
<br /> | ||
You requested deletion of your MyHomeworkSpace account with email {{.User.Email}}. It will be deleted within 48 hours. This includes all homework, classes, and calendar events on your account.<br /> | ||
<br /> | ||
If you did not make this request, email hello@myhomework.space immediately to cancel it.<br /> | ||
<br /> | ||
Note that some of your data might remain on our systems even after your account is deleted - for example, your account might still be present in our automated database backups.<br /> | ||
<br /> | ||
The request was made on {{.Data.DeviceText}} from IP address {{.Data.IPAddress}}.<br /> | ||
<br /> | ||
We thank you for using our service. If you have any feedback to share, please email hello@myhomework.space.<br /> | ||
<br /> | ||
MyHomeworkSpace<br /> | ||
{{template "footer"}} |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
Hi {{.User.Name | fname}}, | ||
|
||
You requested deletion of your MyHomeworkSpace account with email {{.User.Email}}. It will be deleted within 48 hours. This includes all homework, classes, and calendar events on your account. | ||
|
||
If you did not make this request, email hello@myhomework.space immediately to cancel it. | ||
|
||
Note that some of your data might remain on our systems even after your account is deleted - for example, your account might still be present in our automated database backups. | ||
|
||
The request was made on {{.Data.DeviceText}} from IP address {{.Data.IPAddress}}. | ||
|
||
We thank you for using our service. If you have any feedback to share, please email hello@myhomework.space. | ||
|
||
MyHomeworkSpace |