Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

cPanel LogMeIn Script

Discussion in 'cPanel Developers' started by BPWebSolutions, Jan 21, 2012.

  1. BPWebSolutions

    BPWebSolutions Registered

    Joined:
    Jan 21, 2012
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    51
    cPanel Access Level:
    Root Administrator
    Hello,
    My question is aimed at users who are familiar with the LogMeIn script provided by cPanel!
    SecureRemoteLogins < AllDocumentation < TWiki

    I am trying to develop a way to log users straight into cPanel through my application. I have so far been successful, but I am having problems with one thing.

    The script does not seem to take note of the 'goto_uri' variable. I have even gone so far as changing the revelent line in the logmein.pm file to:

    my $goto_uri = 'stats/bandwidth.html';

    But when visiting the generated URL, I am simply taken to the main cpanel page rather than the bandwidth page.

    Has anyone had issues with this?
    Thanks
    Ben
     
  2. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,216
    Likes Received:
    10
    Trophy Points:
    313
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    Is CSRF protection enabled on the server? You can see if it is by logging into cPanel and seeing if there's /cpsess(bunch of numbers here)/ in the URL.
     
  3. BPWebSolutions

    BPWebSolutions Registered

    Joined:
    Jan 21, 2012
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    51
    cPanel Access Level:
    Root Administrator
    I submitted a ticket to cPanel about it, and it turns out it was a issue they need to fix!
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice