[+] Implement delete button

This commit is contained in:
Hykilpikonna
2021-01-22 18:13:36 -05:00
parent a774446a30
commit 7435c04348
+6 -1
View File
@@ -168,6 +168,11 @@ class ManageVC: UIViewController
*/
@IBAction func deleteAccount(_ sender: Any)
{
sendReq(APIs.delete, title: "Deleting...")
{
print("Deleted! \($0)")
self.msg("Deleted!", "You are erased from our database, you no longer exist.")
self.logout(sender)
}
}
}