You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It appears the database config is public, these variables should be concealed, at least to protected or private. Development or production mode, never should I see database credentials printed on the screen.
That is why we have a .env file on each environment to protect the application from unauthorized users, or hacks and even developers from seeing true credentials of the database.
The text was updated successfully, but these errors were encountered:
I don't know that I'd say it's a "major" flaw. They would never be seen in production. And the .env file is to keep credentials out of repos. But I've fixed it all the same. Thanks.
It appears on php errors, using development mode, the database credentials get leaked from the config variables.
It appears the database config is public, these variables should be concealed, at least to protected or private. Development or production mode, never should I see database credentials printed on the screen.
That is why we have a
.env
file on each environment to protect the application from unauthorized users, or hacks and even developers from seeing true credentials of the database.The text was updated successfully, but these errors were encountered: