Description
When registration fail because the account already exist it still creates a folder on the device even though it is non functional and the account was never created.
Steps to reproduce
- Register an account you know already exist
- Hit the error below:
Error: Error invoking remote method 'LOGIN_SERVICE::createAccount': {"message":"This account or device has already been registered.","name":"Error"}
Stacktrace: Error: Error invoking remote method 'LOGIN_SERVICE::createAccount': {"message":"This account or device has already been registered.","name":"Error"} at electron/js2c/renderer_init.js:1263:24
Expected behavior
Upon getting an error screen during registration, there should be a cleanup step that removes the account folder that was incorrectly created.
Description
When registration fail because the account already exist it still creates a folder on the device even though it is non functional and the account was never created.
Steps to reproduce
Expected behavior
Upon getting an error screen during registration, there should be a cleanup step that removes the account folder that was incorrectly created.