Skip to content

Registration failure account cleanup #77

@ynnelson

Description

@ynnelson

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

  1. Register an account you know already exist
  2. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions