The strategy behind fixing a door that closes by itself is to tip the bottom hinge backwards. It makes sense if you think about it. If you take the hinge off, hold it in your hand, and lean it forward, it will close. If you lean it backwards, it will open.
Now just replicate this while it\’s attached to the door.
Unscrew the bottom hinge, cut out some cardboard so that it is the size of half of the hinge plate. Put it behind the hinge plate on the lower half, as the picture shows, and screw the hinge back on.
That should do it. If it doesn\’t, then add more cardboard.
I feel that this is better than bending the hinge pins because it\’s more like balancing the door than hacking it up.