Add log option for username taken event
New Feature / Enhancement Checklist
- Report security issues confidentially.
- Any contribution is under this license.
- Before posting search existing issues.
Current Limitation
Parse Server logs event when trying to sign up with a username that is already taken. This log event cannot be silenced.
Feature / Enhancement Description
Add a new Parse Server option logEvents.usernameAlreadyExists that allows to customize the log level.
Example Use Case
When trying to create a user with a username that is already taken by another user, this error is logged:
{
"code": 202,
"stack": "Error: Account already exists for this username.\n at node_modules/parse-server/lib/RestWrite.js:591:13"
}
References
- https://github.com/parse-community/parse-server/issues/8529
Thanks for opening this issue!
- 🎉 We are excited about your ideas for improvement!
Can I work on this issue?Please assign it to me @mtrezza
Sure, please go ahead.
hey i would like to work on this assign it to me if suited
@Hriishikeshh We do not formally assign PRs; just pick it up if you like; there is an ongoing PR with https://github.com/parse-community/parse-server/pull/9336 so you may want to coordinate with the author.
/assign