Logging out will only affect any interaction with Heroku via the command line - to prevent access via pushes you would have to delete your ssh key from the ~/.ssh folder.
How to prevent pushes to heroku when not logged in
-
30-06-2022 - |
题
I use a semi-public computer and would like to be able to logout (maybe with some setting) and then not be able to push. When I log out, I get the "Local credentials cleared." message and while I can't see my logs while logged out, I can push. :/
解决方案
不隶属于 StackOverflow