25
endor
7y

Remember kids, clear out any login credentials before doing git commit and git push!

/smacks himself

Comments
  • 0
    And 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
  • 3
    That's why you read from config files and never hardcode passwords
  • 1
    @DjSall you're right, it's a tiny personal project so I didn't bother with that. Lesson learned
  • 3
    Password in config file. Config file in .gitignore
    No problem.
  • 1
    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.
  • 1
    I've uploaded one my Google api credentials...
Add Comment