Zuckerberg security chief accused of misconduct leaves job