Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Most of the object carries the whole record of the database #584

Open
bishu opened this issue Dec 1, 2018 · 1 comment
Open

Most of the object carries the whole record of the database #584

bishu opened this issue Dec 1, 2018 · 1 comment
Labels
legacy Issue is pre 4.0.0 Laravel rewrite and is no longer relevant. 3.8.0 bugs will not be maintained.

Comments

@bishu
Copy link

bishu commented Dec 1, 2018

Why most of the object carries the database details like
hostname, databasename, database_username and password.

when I var_dump|($this->fcmsUser) I got all this data
any when there is mysql query error also it shows whole the database details.

I am afraid if this records shows to the users they can access our database externally.

We should stop carry all the records every where and look for alternative.

@ryanhowdy ryanhowdy added the Enhancement New or better functionality label Apr 17, 2019
@ryanhowdy
Copy link
Owner

I believe this will only happen when debug is turned on. Or, when you changed the code like adding a var_dump.

The user won't have access to that information otherwise

@ryanhowdy ryanhowdy added legacy Issue is pre 4.0.0 Laravel rewrite and is no longer relevant. 3.8.0 bugs will not be maintained. and removed Enhancement New or better functionality labels Feb 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
legacy Issue is pre 4.0.0 Laravel rewrite and is no longer relevant. 3.8.0 bugs will not be maintained.
Projects
None yet
Development

No branches or pull requests

2 participants