Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Registration failure account cleanup #77

Open
ynnelson opened this issue Sep 14, 2022 · 1 comment
Open

Registration failure account cleanup #77

ynnelson opened this issue Sep 14, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@ynnelson
Copy link
Contributor

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.

@ynnelson ynnelson added the bug Something isn't working label Sep 14, 2022
@Ellobo16
Copy link

Tested on v.9.630 and there is now functionality that checks if the email already exists before going any further on account creation. @ynnelson, if you can confirm this would resolve the issue, then we can close.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants