Don't show Delete account window if the user has not enetered a password
Steps to reproduce
Describe the steps to reproduce the issue, like:
- Go to the settings page
- Scroll down and click delete account without entering password
- Submit
What happens?
Funkwhale will show a confirmation window to delete the account but the password field is empty. The error "The password field is empty" is not only shown after a user clicks "Delete my account" in the confirmation window.
What is expected?
Usually, an application will authenticate the password is correct and then show the window.
Context
Funkwhale version(s) affected: Version 1.1.4+git.3c8c1524