Fix security token missing logging into cPanel

You would need to edit /var/cpanel/cpanel.config file for this line:

xsrftokens=1

Please change the 1 to a 0, then save the file. At that point, run the following command to push the changes:

/usr/local/cpanel/whostmgr/bin/whostmgr2 --updatetweaksettings
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How to fix defaultwebpage.cgi on a webserver

Running the following commands solves the above problem:   /scripts/updateuserdomains...

How to fix IP Missing issue on cPanel/WHM

We are here to help you with solving the problem of Missing IP Server in list accounts. The...

Install Let's Encrypt SSL in cPanel/WHM

Let's Encrypt, a valid, open-source license that offers free SSL for your domains. The Let's...

Fix Email Issue on a server using the MSFE

To solve the problem of not sending/receiving email on a server using the MSFE / Mailscanner...

Domain names are not showing in WHM

We were unable to see any domains listed under WHM -> List Accounts. However, we can see the...