Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Member
    Join Date
    Mar 2004
    Posts
    53

    Default Login Page Customization

    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

  2. #2
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    10,720
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Quote Originally Posted by jdhf99 View Post
    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).

  3. #3
    Member
    Join Date
    Mar 2004
    Posts
    53

    Default

    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.

  4. #4
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    10,720
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Quote Originally Posted by jdhf99 View Post
    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.
    I'm discussing this with our integrations lead about this as there are other ramifications as well if this is hard-coded.

Similar Threads & Tags
Similar threads

  1. Replies: 1
    Last Post: 02-11-2011, 11:14 AM
  2. webmail login customization
    By stevethyil in forum E-mail Discussions
    Replies: 14
    Last Post: 10-19-2010, 07:52 PM
  3. Page not even loading login page Plz help!
    By hasher22 in forum New User Questions
    Replies: 3
    Last Post: 09-16-2008, 05:13 PM
  4. how to change root login user to other for Cpanel WHM login page?
    By onnetsupport in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 06-07-2006, 10:21 AM
  5. Branded login script customization
    By dxer in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 06-22-2004, 11:11 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube