ucam-department-of-psychiatry / camcops

Cambridge Cognitive and Psychiatric Test Kit (CamCOPS)
Other
12 stars 8 forks source link

Better handling of database deletion when user forgets password #348

Closed martinburchell closed 2 months ago

martinburchell commented 2 months ago

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.