...
...
Hi "rcschaff"
First of all i want to congratulate you for the excellent work done by "rcschaff".
I did the installation following the official guide provided by "rcschaff" at this link:
https://www.youtube.com/watch?v=Uc9pglbZo6II have done all the steps correctly:
1 - Open firewall port number 2304 TCP/IN and TCP/OUT for IPv4 and IPv6
2 - Correctly created CWP PRO Api access management key with correct options:
Flagged List > Account
Flagged List > Account Details
Flagged List > Domains and subdomains
3 - Installed module via ssh shell with this command officialy provided by "rcschaff" at this link
https://github.com/rcschaff82/cwp_2fawget -O - https://github.com/rcschaff82/cwp_2fa/tarball/master | tar xz
cd rcschaff82-cwp_2fa-*
./install.sh
When prompted, i have put my API key.
Under CWP Admin Panel (Root user) menu > User Accounts > Features,Themes,Languages > Themes i have correctly activated the modified theme disallowed users to chenge the theme and flagged option "Hide theme change.
Having said that i have to report two bugs and / or errors:
Bug and / or Error:Go to Menu: 2Factor Auth > Manage users
And have this bug and / or errors:
"Notice: Trying to get property 'msj' of non-object in /usr/local/cwpsrv/htdocs/resources/admin/modules/user2fa.php on line 19
Warning: Invalid argument supplied for foreach() in /usr/local/cwpsrv/htdocs/resources/admin/modules/user2fa.php on line 19
Notice: Undefined variable: userpost in /usr/local/cwpsrv/htdocs/resources/admin/modules/user2fa.php on line 62
Warning: Invalid argument supplied for foreach() in /usr/local/cwpsrv/htdocs/resources/admin/modules/user2fa.php on line 62"The module works for two-factor authentication for Admin Control Panel (Root) but it does not work for the User Control Panel as once the password has been entered it continues to load continuously without ever displaying the field where the 2FA code can be entered.Screenshot of bug and/or errors:So i ask you to help me solve these problems.
In addition, i also ask you the courtesy of being able to post here the commands to be able to uninstall your module completely cleanly from the SSH shell if i need it.
I also remind all those who will read this post that if they wanted to do so they can donate to "rcschaff" for creating this very useful module.
If you would like to donate to the project, "rcschaff" accept donations at:
https://paypal.me/rcschaffDear "rcschaff" thanks in advance for the support.