Get users to accept new privacy policy

Is it possible to block/suspend users or prevent them from logging in until they accept a new privacy policy, in effect putting them back in the state they were in as they were creating an account but without resetting their levels of trust or their previous posts?

I’ve looked through the admin settings, but I cannot see how to do this. Apologies if I’ve missed something.

Thanks!

1 Like

You might check out the custom wizard plugin

1 Like

You could deactivate all accounts, this would force them to re-validate their email addresses before they could log in again.

1 Like

That could be a good solution.

Here’s a way to do that:

  def deactivate_all_users
    User.where("id > 0 and admin != true").update_all(active: false)
  end
2 Likes