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!

Get sucess or Error in password_auth

Discussion in 'cPanel Developers' started by fumagally, Dec 4, 2009.

  1. fumagally

    fumagally Member

    Joined:
    Nov 25, 2009
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    51
    How to get password login sucess or no in the code bellow:

    PHP:
    $xmlapi = new xmlapi($ip);
    $xmlapi->set_port(2096);
    $xmlapi->password_auth($account$password);

    $xmlapi->//GET SUCESS LOGIN OR NO???
     
  2. MattDees

    MattDees Well-Known Member

    Joined:
    Apr 29, 2005
    Messages:
    416
    Likes Received:
    1
    Trophy Points:
    243
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    Hmm.. Well, inside of 11.25 this won't be an issue as things will simply returned an XML stating "Access Denied"

    password_auth doesn't actually authenticate,it merely sets the credentials to authenticate.

    I'll have to patch the library to do this, could you please drop me a PM detailing how you would expect this to work?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. fumagally

    fumagally Member

    Joined:
    Nov 25, 2009
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    51
    ...


    I need to properly configure my script to change the password for the email ... please see the last thread post below:

    http://forums.cpanel.net/f42/email-password-change-wihout-login-cpanel-139077.html
     
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