Password Reset

Post Reply
sekigah
Posts: 13
Joined: Fri Aug 12, 2016 2:02 pm

Password Reset

Post by sekigah » Mon Apr 10, 2017 2:54 pm

Trying to reset the password on an account since the player forgot it.

How would I go about doing this?

Whether it is prompting a player to enter a new password or by changing it myself?

User avatar
TeoTwawki
Developer
Posts: 527
Joined: Mon Jul 15, 2013 9:50 pm

Re: Password Reset

Post by TeoTwawki » Tue Apr 11, 2017 2:57 pm

Can only be done via mysql query on the gamer server's database. Its the standard password routine built into mysql.

Deprecated, but still works so far as I am aware:

Code: Select all

UPDATE accounts SET password = PASSWORD("NEW_PASSWORD_HERE") WHERE login = 'ACCOUNT_NAME_HERE';
See also: wiki page with useful queries
Hi, I run The Demiurge server.


Image
Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live. - Martin Golding
PLS USE [ code ] CODE TAGS [ /code ] WHEN POSTING CODE
DO NOT PRIVATE MESSAGE ME ABOUT BUGS

Post Reply