Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
endor57517yAnd I was even thinking to myself "remember to remove your password!". The happiness from finding the solution took over :/
There is no joy in life -
endor57517y@DjSall you're right, it's a tiny personal project so I didn't bother with that. Lesson learned
-
Password always in external config. Even if it's a temporary password to a fake account on a proof of concept. Always.
Most deployment systems have some version of environment configuration. I mostly use firebase nowadays, so I use firebase config. You can use a bunch of other things, but you should make sure with absolute certainty that passwords are never, ever, stored in your code.
Related Rants
-
Jappe13Just had a fire drill at school. I yelled "GIT PUSH!! GIT PUSH!!". I've always wanted to do that... :P
-
Player28WHAT DO YOU MEAN INVALID CREDENTIALS. I JUST LOGGED IN WITH THEM ON YOUR SHITTY FUCKING WEBSITE YOU FUCKING IN...
-
HAlex3- Hey it's lunch time! - Yeah let me push these changes... - No! You'll do it later. - But, it will take 2 min...
Remember kids, clear out any login credentials before doing git commit and git push!
/smacks himself
undefined
credentials
git commit
git push