wheelmap-classic
wheelmap-classic copied to clipboard
Delete account on staging leads to 502 error without confirmation question
- I'm logged in as [email protected] on https://staging.wheelmap.org/en/profile/edit and click "Delete account".
- I expect a javascript confirm question ("danger, this is irreversible" or something) and then the message that my account has been deleted or is qued for deletion.
- Instead, I do not get a javascript confirm and after some sceonds I see a 502 error from cloudflare:
" Error 502 Ray ID: 2dfa168b7fdc2318 • 2016-09-09 10:52:29 UTC Bad gateway "
All modern browsers have a built in confirm()
function that can be easily hooked in.
Ref: https://developer.mozilla.org/en-US/docs/Web/API/Window/confirm