Pull Request #220: [FIXED BUG] Duplicate username rejection by mongoDB

Pull Request #220 by Rushi1109
[FIXED BUG] Duplicate username rejection by mongoDB Description Fixed the issue where User register with already used username and mongoDB rejects it. How is it fiexd? 1. Check if the same username exist in mongoDB. 2. If yes, then assigned username with uid. 3. Else keep username as it is. Fixes #218 Type of change Please delete options that are not relevant. - [x] Bug fix (non-breaking change which fixes an issue) - [x] Breaking change (fix or feature that would cause existing functionality to not work as expected) Checklist: - [x] My code follows the style guidelines of this project - [x] I have performed a self-review of my code - [x] My changes generate no new warnings
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server