munafio / chatify

Laravel's #1 one-to-one chatting system package, helps you add a complete real-time chatting system to your new/existing Laravel application with only one command.
https://chatify.munafio.com
MIT License
2.25k stars 482 forks source link

Limit the data retrieved for the user #359

Closed matiaso closed 3 months ago

matiaso commented 3 months ago

We return the whole user's data in the request, this could potentially leak user's sensitive data.

munafio commented 3 months ago

@matiaso That make sense, but there are many scenarios that we can not cover all that's why we have customizable controller .. I'll merge your changes because it's better to be the default one.

Thanks for our contribution