Hi,
Is there any possibilities in “All In One WP Security & Firewall” to approve pending user registrations programmatically?
Unfortunately no.
This plugin will automatically register Users in WordPress and WooCommerce, but if “User Registraion” is set to “manual”, the user simply wont be able to login.
That is how this feature works. You want to protect your site from fictitious registrations.
Let me know if you need more information or help.
Thank you
Hi @mbrsolution
Thank you for your answer, but I feel you have not understood the context of this scenario correctly.
VIPPS is an Norwegian Banking application, that allows end users to purchase,pay and transfer by using their mobiletelephone number. In order to be an “VIPPS” user, the end user must have an Norwegian SosialID, and they must register with multiple authentication factors before they can be registered as an user.
VIPPS has devloped an plugin for authentication and registering of users to WordPress and WooCommerece, and will perform multifactor auth in a simple and secure way.
Hence these accounts is highly trusted and it is impossible to be “fictitious”.
We want to avoid “fictitious” user accounts, therefore “Manuall” process is enabled.
But this stops userregistration done by the highly trusted VIPPS wich act as an identity-provider.
We can’t manually approve VIPPS user registration. Therefore we need and endpoint, where this plugin could approve these user accounts, but for other accounts the process should be manuall.
Hi, my apologies if I did not understand fully your question. However from what you stated above, this would require some extra coding, filter or a function which is what you originally asked for.
I have submitted a message to the developers to investigate further your issue/request.
Kind regards
Hi @mbrsolution!
Thanks, that is correct and is what we want!
Kind regards
Horgster
Hi @horgster
If you are able to get the userid of the the account you want to programmatically approve, then you can simply use the native wp function as follows to approve that account:
update_user_meta($user_id, 'aiowps_account_status', 'approved');
Let me know if you have further questions.
Hi @wpsolutions
This works!
Thanks for great support and help!
Cheers
Horgster