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.

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:
    1
    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 cPanel Product Owner
    Staff Member

    Joined:
    Apr 29, 2005
    Messages:
    417
    Likes Received:
    1
    Trophy Points:
    18
    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?
     
  3. fumagally

    fumagally Member

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


    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