Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 9 of 9
  1. #1
    Member
    Join Date
    Dec 2003
    Location
    someplace
    Posts
    19

    Cool redirect on login success (custom login)

    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
    ---
    Iuri

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

    Root Administrator

    Default

    Quote Originally Posted by adm.iuri View Post
    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
    This works for me on: WHM 11.23.0 cPanel 11.23.1-E24388

    What version are you running?

  3. #3
    Member
    Join Date
    Dec 2003
    Location
    someplace
    Posts
    19

    Default

    Quote Originally Posted by cPanelDavidG View Post
    This works for me on: WHM 11.23.0 cPanel 11.23.1-E24388

    What version are you running?

    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)
    ---
    Iuri

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

    Root Administrator

    Default

    Quote Originally Posted by adm.iuri View Post
    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)
    I meant to say that the failurl parameter works as intended for me, redirecting to the URL I provided upon a failed login.

  5. #5
    cPanel Development cpanelkenneth's Avatar
    Join Date
    Apr 2006
    Posts
    3,768
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Quote Originally Posted by adm.iuri View Post
    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)
    You likely need to have a customized theme, and then set the account(s) to use that theme.

  6. #6
    Member
    Join Date
    Dec 2003
    Location
    someplace
    Posts
    19

    Talking

    Thanks,

    This is not the perfect solution but I think it will work.
    ---
    Iuri

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

    Root Administrator

    Default

    Quote Originally Posted by adm.iuri View Post
    Thanks,

    This is not the perfect solution but I think it will work.
    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. #8
    Member
    Join Date
    Dec 2003
    Location
    someplace
    Posts
    19

    Default

    Quote Originally Posted by cpanelkenneth View Post
    You likely need to have a customized theme, and then set the account(s) to use that theme.
    One more question:

    is possible to an user select the theme on login screen (disabling htauth first of coure)
    ---
    Iuri

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

    Root Administrator

    Default

    Quote Originally Posted by adm.iuri View Post
    One more question:

    is possible to an user select the theme on login screen (disabling htauth first of coure)
    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.

Similar Threads & Tags
Similar threads

  1. Replies: 1
    Last Post: 02-11-2011, 11:14 AM
  2. Redirect After Login
    By kdoShaun in forum cPanel Developers
    Replies: 0
    Last Post: 02-01-2009, 11:12 AM
  3. Cpanel custom login fail page redirect
    By boy143878 in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 03-31-2008, 09:28 PM
  4. custom login
    By PaulOr in forum New User Questions
    Replies: 0
    Last Post: 04-17-2005, 07:10 PM
  5. redirect webmail login url
    By |Noname| in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 12-03-2003, 09:04 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube