It's not entirely clear when CamCOPS can't delete its databases but if it can't we should now see better error reporting and a prompt to the user to delete the databases manually.
I have fixed one related bug, which is if the user cancelled the new password dialogue when starting the app for the first time, the next attempt to create a new password would result in the password not being recognised. Subsequent attempts to create a new password would succeed.
Also fixes some node version warnings on GitHub workflows.
Fixes #346
It's not entirely clear when CamCOPS can't delete its databases but if it can't we should now see better error reporting and a prompt to the user to delete the databases manually.
I have fixed one related bug, which is if the user cancelled the new password dialogue when starting the app for the first time, the next attempt to create a new password would result in the password not being recognised. Subsequent attempts to create a new password would succeed.
Also fixes some node version warnings on GitHub workflows.