Skip to content

Deleting accounts not implemented #517

@MathMan05

Description

@MathMan05
function deleteAccount(token:string, api:string){
  const password = prompt("Password for account to be deleted");
  fetch(api+"/users/@me/delete/", {
    headers: {
      authorization:token
    },
    body:JSON.stringify({password}),
    method:"POST"
  });
}

add a button

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions