Hello team ,
I have just activated 2FA and it is impossible to access Cyberpanel. I insert the correct codes, but it always reports a password error.
I use CentOS and I have access from SSH, but my knowledge is very limited.
Is there a simple way to fix this, can you please help me?
I have read some post about this, here: 2FA error But I do not understand anything and I have not been able to solve the problem.
which part is not able to solve ?
Hy MyIDKaTePe , and thanks for reply 
I don’t use Ubuntu, I use CentOS7 and this doesn’t work 
Please access the cyberpanel database and then the cyberpanel admin user make the 2fa of that user to zero
I don’t think I know how to do that…
Ok, If you have the same problem, try this:
PASSWORD=$(cat /etc/cyberpanel/mysqlPassword);
DB_NAME="cyberpanel";
mysql -uroot -p${PASSWORD} "${DB_NAME}" -e "SELECT twoFA FROM loginSystem_administrator WHERE id = 1;"