These forums are your way of communicating with the community of people developing and using tools provided by the OneAll platform. The forums are run by the community and moderated by the OneAll team during office hours.
Please stick to technical issues - and remember, no confidential information - these are public forums!

Account admin approval?


I was wondering if there was a way to make it such that all accounts that are created through the social login be approved by administrators first? Right now the accounts are automatically created and the user can log in right away. If there was even a way for the account to be created but the user NOT be able to log in until the administrator approves, that would suffice.


Best Answer

  • Hi Claude,

    Thank you for your response. I am using Wordpress.

    I have actually solved the issue since I posted the inquiry. I hooked into Wordpress' wp_login and do a check to see if the users account is in pending. If it is, I then force a logout on that user.

    I'm also using the New User Approve plugin to require that any newly created user be approved by an administrator before being able to log in. Interestingly though, this plugin by default does not prevent users who use the social login feature from logging into the site before an admin has approved their account.


Sign In or Register to comment.