Facebook says it is taking steps to fix a security problem that has affected nearly 50 million user accounts.

The company says hackers exploited its “View As” feature and the social media company says it has alerted law enforcement about the security breach.

To deal with the issue, Facebook reset some logins, so 90 million people have been logged out and will have to log in again.