Yeah what a terrible mistake to resign and for the CEO to accept such a resignation. Shows a complete lack of understanding of what accountability actually means and shows that Amit (CEO) has no idea how to handle a critical security event.
Don't condemn people until you have all the facts, which multiple reporters are working on figuring out right now.