Thank you for using our plugin @trutherone
Sorry for the late reply. The last few days have been very hectic. I am not sure what negative feedback you are referring to. Can you please share some links / reference?
In regards to your problem; let’s start with the login process: if you do not use the plugin and users log in, where are they redirected to?
The reason I am this because the plugin is not responsible for nor does it change where the users are redirected to after any interaction with any of the 2FA pages, or if they should have access to the backend or not. The plugin simply follows what is already configured in WordPress. If you do not want your users to access the backend, then you have to:
1.a. Create some sort of portal or pages which users can access once logged in
1.b. Use a “post-login redirect” plugin, or the “redirect_to” filter in WordPress to override the redirection URL.
1.c. Then you can use the front-end 2FA page in WP 2FA so users do not have to access the backend.
For example this works perfectly with plugins like WooCommerce or Easy Digital Downloads. Both plugins create a user portal, and users log in to the portal, access the portal, and configure 2FA via the portal. It is WooCommerce or EDD in this cased which control where the user is redirected to after logging in, or what the user can access or not.
As for the “nulled href”, there is no nulled href in class-login.php. The “#” has a JS attached to it and by removing it you will certainly break other things. That is used by the plugin so it follows the already configured redirection rules from WordPress, which usually come from “redirect_to” parameter, which comes from the WordPress login itself, and which is executed before our plugin actually kicks in.
So the plugin is simply adding an “extra step” during an existing login process. It does not interfere, control or modify the flow of that user journey.
I hope the above helps and you manage to solve your issue. Should you have any further questions, please do not hesitate to ask.
Have a great day.