The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

redirect on login success (custom login)

Discussion in 'General Discussion' started by adm.iuri, May 15, 2008.

  1. adm.iuri

    adm.iuri Member

    Joined:
    Dec 26, 2003
    Messages:
    19
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    someplace
    When using a custom login, I know that is possible to set a page to be called on a fail login, so is possible to set the page to be called on a success login?

    REF: http://www.cpanel.net/cpanel-login.phps
     
  2. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    This works for me on: WHM 11.23.0 cPanel 11.23.1-E24388

    What version are you running?
     
  3. adm.iuri

    adm.iuri Member

    Joined:
    Dec 26, 2003
    Messages:
    19
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    someplace

    It works for me too.

    But on success it redirects to http://server:2082/frontend/x3, I want a redirect to something else.

    if I pass a url in 'failurl' it's will redirect to it on fail, I want something like this but for success. (maybe successurl)
     
  4. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    I meant to say that the failurl parameter works as intended for me, redirecting to the URL I provided upon a failed login.
     
  5. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,458
    Likes Received:
    22
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    You likely need to have a customized theme, and then set the account(s) to use that theme.
     
  6. adm.iuri

    adm.iuri Member

    Joined:
    Dec 26, 2003
    Messages:
    19
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    someplace
    Thanks,

    This is not the perfect solution but I think it will work.
     
  7. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    You can also just use the branding editor to change the appearance of the interface and then apply that branding to all your users' accounts.
     
  8. adm.iuri

    adm.iuri Member

    Joined:
    Dec 26, 2003
    Messages:
    19
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    someplace
    One more question:

    is possible to an user select the theme on login screen (disabling htauth first of coure)
     
  9. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    That functionality is not available at this time as the cPanel theme cannot be set via a login form. Offhand, I can't think of any reliable method to programmaticly modify a user's theme as needed during (or immediately preceding) the login process.
     
Loading...

Share This Page