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

[BUG] /api/v1/users.register registering even when error happens #9201

Closed
cardoso opened this issue Dec 20, 2017 · 1 comment
Closed

[BUG] /api/v1/users.register registering even when error happens #9201

cardoso opened this issue Dec 20, 2017 · 1 comment
Assignees
Milestone

Comments

@cardoso
Copy link
Contributor

cardoso commented Dec 20, 2017

{
    "error" : "matheus.cardoso@ is not a valid username, use only letters, numbers, dots, hyphens and underscores [username-invalid]",
    "errorType" : "username-invalid",
    "success" : false
}

#8475 might be a related issue.

Both issues are pretty bad, because they still create the user in our database which takes up the email.

@cardoso cardoso changed the title /api/v1/users.register registering even when error happens [BUG] /api/v1/users.register registering even when error happens Dec 20, 2017
@MarcosSpessatto MarcosSpessatto self-assigned this Apr 26, 2018
@MarcosSpessatto MarcosSpessatto added this to the 0.65.0 milestone Apr 26, 2018
@rafaelks
Copy link
Contributor

rafaelks commented May 2, 2018

@cardoso We'll change the way it works on the apps: if we receive this error, the app will open another screen that will allow the user to see the suggested username and set a new one. There's no easy way to handle this error in our back-end right now.

@rafaelks rafaelks closed this as completed May 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants