Jump to content

Get client password (API)


m00

Recommended Posts

I'm currently creating an external website with a login form. Now I want to check the filled in credentials using the API, but I'm not sure how I can realize this.

 

I can request the password using the getclientsdetails action, but encrypted in some way. I tried to decrypt it using the decryptpassword action, but then I just get some random characters. How can I request the client password in MD5 format (or something else), so I can check it with the filled in password on the external website?

 

Thanks!

Link to comment
Share on other sites

Another issue when I use the addclient action. When I try to create a new account using the action, it creates the account, but returns the A user already exists with that email address error. Is this a bug, or am I missing something? Postfields that I'm sending are:

			"firstname" => sanitize($_POST['firstname']), 
		"lastname" => sanitize($_POST['lastname']),
		"email" => sanitize($_POST['email']),
		"address1" => sanitize($_POST['address1']),
		"address2" => sanitize($_POST['address2']),
		"city" => sanitize($_POST['city']),
		"state" => sanitize($_POST['state']),
		"postcode" => sanitize($_POST['postcode']),
		"country" => sanitize($_POST['country']),
		"phonenumber" => sanitize($_POST['phonenumber']),
		"password2" => sanitize($_POST['password2']),
		"currency" => 1,
		"noemail" => "true",

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated