Pull Request #416 by Chakit22
Validation/coding profile usernames
1. Added validation check for the usernames entered while updating the ratings to the leaderboard.
2. Threw an error with a a suitable message.
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
Summary by CodeRabbit
- Bug Fixes
- Enhanced username validation to prevent the use of URLs as usernames, ensuring a more secure and reliable user experience.
- Improved error handling in user dashboard ratings to provide clearer error messages and prevent potential crashes.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
0 Replies