Skip to content
This repository has been archived by the owner on Jun 22, 2022. It is now read-only.

Login User - The login failed. Username or password wrong. #5

Open
ChristopherDosin opened this issue Jun 28, 2015 · 1 comment
Open

Comments

@ChristopherDosin
Copy link
Contributor

Hi,

if i want to login a user i get the exception "The login failed. Username or password wrong."
But the user and password is definitely correct.

With Laravel5 i do

 $context = stream_context_create(array(
        'ssl' => array(
            'verify_peer'       => false,
            'allow_self_signed' => true,
            'verify_peer_name'  => false
        )
    ));
    $cp = new \GDM\ISPConfig\SoapClient('https://myip:8080/remote/index.php', 'api', 'apipassword', $context);

    $cp->login("client1", "testtest");

    dd($cp);

The user/client exists of course with the provided password.
I dont get any other information except that the login failed. Where else could the problem be ?

@joshuataylor
Copy link

Make sure you have a remote user setup at System -> Remote Users, works for me after that.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants