From 32e4e9606fb2ac95b236913fcc0a98a7ee23bccd Mon Sep 17 00:00:00 2001 From: Malf Furious Date: Sat, 21 May 2016 21:44:53 -0400 Subject: Add MVC Deleteacct This will prompt the user for their password if they opt to delete their own account. This is to prevent malicious attempt by others to trick users into having there accounts deleted by way of a XSS attack. --- app/view/deleteacct/default.view.php | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 app/view/deleteacct/default.view.php (limited to 'app/view/deleteacct/default.view.php') diff --git a/app/view/deleteacct/default.view.php b/app/view/deleteacct/default.view.php new file mode 100644 index 0000000..b078861 --- /dev/null +++ b/app/view/deleteacct/default.view.php @@ -0,0 +1,13 @@ + + + + + + Scrott - Delete user account + + + + + + + -- cgit v1.2.3 From a99a0afd57a109f581c676b8dd3622dd3e901553 Mon Sep 17 00:00:00 2001 From: Malf Furious Date: Sun, 22 May 2016 01:59:53 -0400 Subject: Create view for delete account MVC This page prompts for user password before actually deleteing their account. --- app/view/deleteacct/default.view.php | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'app/view/deleteacct/default.view.php') diff --git a/app/view/deleteacct/default.view.php b/app/view/deleteacct/default.view.php index b078861..de32202 100644 --- a/app/view/deleteacct/default.view.php +++ b/app/view/deleteacct/default.view.php @@ -8,6 +8,30 @@ + +
+
+
Warning: Deleting your user account!
+ +
+
+ +

Are you sure?!

+

Please confirm you want to delete your Scrott account. Type your current password in the box below and click the confirm button

+ +
+ + +
+ + +
+
+
+
+ -- cgit v1.2.3