Blocking Users

Hello, I cannot see any way to prevent a specific user from logging in again, and simply deleting their account will actually cause it be recreated the first time the attempt to login.

Is there a built in solution?

Answers

  • Hi,
    Which environment are you using Oneall in? (is it Wordpress...)

    Thanks.
  • Yes it is in Wordpress
  • Yes, indeed, you need something to block him.
    A hook function can block a specific user, this page (question "How to allow only logins from a specific email address?") docs.oneall.com/plugins/guide/social-login-wordpress/ has some code to work from.
    For example, in your theme functions.php add this:
    function oa_social_login_restrict_new_user_email ($user_email) { // add the black listed email addresses in the array below: if (in_array(strtolower(trim($user_email)), array('fpinel@oneall.com', 'someotheraddress')) === true) { wp_redirect(home_url()); exit; } return $user_email; } add_filter('oa_social_login_filter_new_user_email', 'oa_social_login_restrict_new_user_email');
    Regards
  • Different systems handle “deleted users” very differently, and the behavior you describe (account gets recreated on login) is typical of SSO / external identity providers.
    docs.oneall.com/plugins/guide/social-login-wordpress/geometry dash lite

  • Si buscas emoción y diversión en un solo lugar, parimatch casino es lo que necesitas. Con una gran variedad de tragamonedas, ruleta y juegos de cartas, siempre hay algo nuevo para probar. La plataforma es segura, rápida y perfecta para jugar desde el móvil o la computadora sin complicaciones.

  • Blocking users is an important moderation feature that helps maintain a safe and comfortable environment within an app or online platform. It allows individuals to prevent specific users from viewing their profile, sending messages, or interacting with their content DANAVIP APK. By giving users control over who can engage with them, blocking reduces harassment, spam, and unwanted communication, ultimately improving user experience and encouraging healthier online interactions.

Welcome!

Please sign in to your OneAll account to ask a new question or to contribute to the discussions.

Please click on the link below to connect to the forum with your OneAll account.