From 2875f7095562b302f13e1ef7e8cfd581cfc984bf Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Sat, 20 Aug 2016 23:11:34 +0200 Subject: Allow users to delete their accounts Signed-off-by: Florian Pritz --- application/views/user/delete_account_form.php | 27 +++++++++++++++++++++++ application/views/user/delete_account_success.php | 8 +++++++ application/views/user/profile.php | 6 +++++ 3 files changed, 41 insertions(+) create mode 100644 application/views/user/delete_account_form.php create mode 100644 application/views/user/delete_account_success.php (limited to 'application/views/user') diff --git a/application/views/user/delete_account_form.php b/application/views/user/delete_account_form.php new file mode 100644 index 000000000..dbb28531d --- /dev/null +++ b/application/views/user/delete_account_form.php @@ -0,0 +1,27 @@ +
+
+

Account deletion

+

+ Here you can permanently delete your account on this FileBin installation.
+ WARNING: All your data will be irrevocably deleted. +

+
+
+ + +
+
+ +
+ +
+
+
+
+
+
+ +
+
+
+ diff --git a/application/views/user/delete_account_success.php b/application/views/user/delete_account_success.php new file mode 100644 index 000000000..72d7ff12b --- /dev/null +++ b/application/views/user/delete_account_success.php @@ -0,0 +1,8 @@ +
+
+

Account deletion successful

+

+ Your account has been successfully deleted. Thank you for using FileBin! +

+
+
diff --git a/application/views/user/profile.php b/application/views/user/profile.php index 6e0a7089f..1aa22ec10 100644 --- a/application/views/user/profile.php +++ b/application/views/user/profile.php @@ -38,3 +38,9 @@ + +
+ +
+

If you want to permanently delete your account, please click ">here.

+
-- cgit v1.2.3-24-g4f1b