parse-server icon indicating copy to clipboard operation
parse-server copied to clipboard

Add log option for username taken event

Open mtrezza opened this issue 1 year ago • 6 comments

New Feature / Enhancement Checklist

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

mtrezza avatar Oct 09 '24 11:10 mtrezza

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

KrishDave1 avatar Oct 10 '24 16:10 KrishDave1

Sure, please go ahead.

mtrezza avatar Oct 10 '24 18:10 mtrezza

hey i would like to work on this assign it to me if suited

Hriishikeshh avatar Oct 13 '24 14:10 Hriishikeshh

@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.

mtrezza avatar Oct 14 '24 14:10 mtrezza

/assign

sanjaraiy avatar Oct 15 '24 16:10 sanjaraiy