Notifications
Clear all

php method for changing username?  

(@gecko64)
Trusted Member Registered

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

ReplyQuote
Topic starter Posted : 23/07/2020 9:57 pm
(@skaredcreations)
Honorable 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

ReplyQuote
Posted : 27/07/2020 9:50 pm
(@gecko64)
Trusted Member Registered

Thanks for the tips. Got it working. 

ReplyQuote
Topic starter Posted : 12/08/2020 3:50 pm
Share: