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.
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.
Answers
Which environment are you using Oneall in? (is it Wordpress...)
Thanks.
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.