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

Make delete user safe #5

Merged
merged 2 commits into from
Sep 23, 2014
Merged

Make delete user safe #5

merged 2 commits into from
Sep 23, 2014

Conversation

dentarg
Copy link
Contributor

@dentarg dentarg commented Sep 16, 2014

If id is an empty string, the call will look like

POST /api/users/

which is another API call – to remove all users – we sure don't want that to happen unexpectedly.

id has the form "auth0|foo123", Ruby URI doesn't like "|".
POST /api/users/ is another API call – which will remove all users,
don't want that to happen unexpectedly!
@dentarg
Copy link
Contributor Author

dentarg commented Sep 23, 2014

@jfromaniello @mgonto what do you think?

@jfromaniello
Copy link
Member

sorry for the delay, I think all the PR looks great :)

Thank you very much for these contributions we will merge and push today

@mgonto
Copy link
Contributor

mgonto commented Sep 23, 2014

Looks awesome :).

Thanks for the contribution!

Merging!

mgonto added a commit that referenced this pull request Sep 23, 2014
@mgonto mgonto merged commit 6a4bb8f into auth0:master Sep 23, 2014
@dentarg dentarg deleted the make-delete-user-safe branch April 13, 2015 14:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants