summaryrefslogtreecommitdiff
path: root/lib/router.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@status.net>2010-12-14 12:38:43 -0500
committerEvan Prodromou <evan@status.net>2010-12-14 12:38:43 -0500
commitd840578aa0ad6284f57591aae87f87865905db3c (patch)
treec37886803d848d83fbebeaa316708004ae21d919 /lib/router.php
parent6a7bf9dbf97a86881181d070894b0586d9d34129 (diff)
An action to delete your own account
The new DeleteaccountAction lets a user delete their own account (subject to global rights set by the admin). It presents a form to delete the account, with an "I am sure." text entry box. It then schedules the account for deletion and logs the user out.
Diffstat (limited to 'lib/router.php')
-rw-r--r--lib/router.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/router.php b/lib/router.php
index 369eebf8b..fc5f17cde 100644
--- a/lib/router.php
+++ b/lib/router.php
@@ -200,6 +200,7 @@ class Router
'geocode',
'version',
'backupaccount',
+ 'deleteaccount',
);
foreach ($main as $a) {