php method for chan...
 
Notifications
Clear all

php method for changing username?

3 Posts
2 Users
0 Likes
358 Views
(@gecko64)
Posts: 82
Estimable Member
Topic starter
 

Hi,

We would like to set up a web page form where our users could reset their password -- just like we have in the game, but on a webpage (to help people who are playing a new version of the game and need their login, and don't have the old version handy). Is there any way to do that with a php script, using the same encryption method used in the game?

thanks

Dave

 
Posted : 23/07/2020 9:57 pm
(@skaredcreations)
Posts: 805
Prominent Member Admin
 

Since you're doing a PHP webpage then you don't need to use the web services, your PHP developer should just include /lib/api.php in its PHP page and then use the core Account class like it does in the function wsResetPassword of the webservice /users.php

FRANCESCO CROCETTI @ SKARED CREATIONS

 
Posted : 27/07/2020 9:50 pm
(@gecko64)
Posts: 82
Estimable Member
Topic starter
 

Thanks for the tips. Got it working. 

 
Posted : 12/08/2020 3:50 pm
Share: