Browse Source

Add stub for account removal.

wolfbeast 10 years ago
parent
commit
3397c87059
1 changed files with 7 additions and 0 deletions
  1. 7 0
      user.php

+ 7 - 0
user.php

@@ -256,6 +256,13 @@
             {
                 //change email adr
             }
+            else if($function == "delete_account")
+            {
+                //remove account and data from sync server
+                // 1. verify user auth
+                // 2. get collections + data and remove data
+                // 3. remove user account
+            }
             else
             {
                 report_problem(WEAVE_ERROR_INVALID_PROTOCOL, 400);