This. Have a solid offboarding checklist that includes VPN credentials or any access to systems that employee might have. At this point I don’t have any sympathy for the hacked when it’s as simple as this.
Checklist is a 90% solution which might help here. Or it might have been the case where the checklist failed.