Hello!
I have successfully connected my server deployed on Heroku to MongoDB Atlas.
Everything works fine.
Now, I have forgotten my password on Atlas. So I have updated my password and took a new one (for MongoDB Atlas).
I have NOT changed the password to connect Mongo Atlas in the config of the Heroku deployed app.
But, I can see that my app on Heroku STILL connects to MongoDB Atlas successfully.
Can someone explain why ?
Now If I try to connect MongoAtlas from my localhost : if the passwords of my DATABASE_URI of my app on localhost and the password specified on Atlas do not match, the connection fails, as expected.
So why does it still work for the Heroku app ?
Thanks