Hi,
I'm trying to customize the actual login page that displays at :2082, does anyone know where the error message comes from when you fail to login?
Thanks,
Corey
Hi,
I'm trying to customize the actual login page that displays at :2082, does anyone know where the error message comes from when you fail to login?
Thanks,
Corey
The pages themselves are controlled by a login theme (stored in /usr/local/cpanel/base/unprotected/cpanel). The error messages themselves are hard-coded into cPanel/WHM as far as I can tell.
To create your own login theme, just copy /usr/local/cpanel/base/unprotected/cpanel to another directory in /usr/local/cpanel/base/unprotected/ such as /usr/local/cpanel/base/unprotected/myTheme
You can test your login theme before setting it to be the default in Tweak Settings by appending ?login_theme=myTheme to your login URL (where myTheme represents the folder you created and thus the name of your login theme).
Alright.
I find it annoying to have to leave a "space" for messages/error messages within the login theme, but I guess that is what will need to be done.
Thank you for the answers.