Skip to content

Commit

Permalink
Changed wording
Browse files Browse the repository at this point in the history
  • Loading branch information
Naviary2 committed Jul 16, 2024
1 parent 7dbde08 commit b0dfc8e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/client/scripts/member.js
Original file line number Diff line number Diff line change
Expand Up @@ -126,15 +126,15 @@ function showAccountInfo() {
}

async function removeAccount(confirmation) {
if (!confirmation || confirm("Are you sure you want to delete your account? This CANNOT be undone! Click OK to enter your password.")) {
const password = prompt("Enter your password to PERMANENTLY delete your account: ");
if (!confirmation || confirm("Are you sure you want to delete your account? This CAN NOT be undone!")) {
const password = prompt("Enter your password to PERMANENTLY delete your account: ");
const config = { // Send with our access token
method: 'DELETE',
headers: {
'Content-Type': 'application/json',
'Authorization': `Bearer ${token}`
},
body: JSON.stringify({ password }),
body: JSON.stringify({ password }),
credentials: 'same-origin', // Allows cookie to be set from this request
};

Expand Down

0 comments on commit b0dfc8e

Please sign in to comment.