Welcome Guest. Please Login or Register  


You are here: Index > Softaculous Auto Installer > General Support > Topic : Softaculous Remote : Web API : Users



Threaded Mode | Print  

 Softaculous Remote : Web API : Users (6 Replies, Read 1385 times)
Namesco_jthompson
Group: Member
Post Group: Newbie
Posts: 11
Status:
Is there a way to disable or prevent the API from creating a partially-complete user when a call is made for a username that doesn't already exist?

For example, if I call the Add Domain function for a non-existant username, it adds a new user to the users table, but it's incomplete (no email address). With no ability to edit an existing user entry, this can become problematic
IP: --   

Softaculous Remote : Web API : Users
priya_mittal
Group: Member
Post Group: Newbie
Posts: 47
Status:
Hi,

It looks like you are using 'useuser' for creating the user session while adding a domain. If you use 'useuser', the user is created if the user does not already exist. In this case, a null email id is added.

If you want you can pass the email address in POST or GET methods along with other parameters. Here, if the user already exist and you pass an email address, it will remain the same as before. But if the user does not exist and you pass the email address, user will be created and email will also be added for that user in the users table.

Please feel free to contact us for further queries.
IP: --   

Softaculous Remote : Web API : Users
priya_mittal
Group: Member
Post Group: Newbie
Posts: 47
Status:
Hi,

Also, at the moment there is no way to edit the email address for an existing user, though we'll add it soon in the next Softaculous version.

Please let us know for further queries.
IP: --   

Softaculous Remote : Web API : Users
Namesco_jthompson
Group: Member
Post Group: Newbie
Posts: 11
Status:
Briliiant, many thanks
IP: --   

Softaculous Remote : Web API : Users
priya_mittal
Group: Member
Post Group: Newbie
Posts: 47
Status:
Hi,

As per your request we've developed a Remote API to edit the non reseller end user details. We'll be including the same in next Softaculous version soon.

Should you face any further issues, please feel free to contact us.
IP: --   

Softaculous Remote : Web API : Users
Namesco_jthompson
Group: Member
Post Group: Newbie
Posts: 11
Status:
That's excellent news. Thanks very much
IP: --   

Softaculous Remote : Web API : Users
priya_mittal
Group: Member
Post Group: Newbie
Posts: 47
Status:
Hi,

We've launched Softaculous version 4.7.9 with the fix to edit non-reseller user details. You can now follow our guide here in order to edit details such as username, email for a non reseller user:
https://www.softaculous.com/docs/Remote_API#Edit_User

You can also view the change log for the new version here:
http://www.softaculous.com/news/softaculous/softaculous-4-7-9-released-9954.html

Please check and let us know for any other issues.

Edited by priya_mittal : August 8, 2016, 7:45 am
IP: --   

« Previous    Next »

Threaded Mode | Print  



Jump To :


Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is March 19, 2024, 2:56 am.

  Powered By AEF 1.0.8 © 2007-2008 Electron Inc.Queries: 11  |  Page Created In:0.021