PlaneShift

Development => Development Deliberation => Topic started by: psyche on February 19, 2005, 09:13:42 pm

Title: Unable to create a new account on the local test server
Post by: psyche on February 19, 2005, 09:13:42 pm
This time I have a problem with creating an account on my local test server.

I\'m sure it work perfectly because after I finished the installation, I managed to connect on it with the client (witch was still configured with the \"vengeance\" account). After that, I tried to create a new account (with the newacct command on the server) and to use it but I receave the error message : \"invalid password\". In the database I can see that the account has been created but, strangely the password isn\'t coded as it is for other account.

If anyone has an idea ...
Title:
Post by: acraig on February 19, 2005, 09:26:42 pm
I will check the new account command in the server code. I believe it is outdated and should not be used.  It\'s probably not doing the md5sum on the password.
Title:
Post by: AryHann on February 20, 2005, 11:51:46 am
I use some part of the newacct code in my \"registration page\" that I have directly inserted in the client.

The function works good, but as you say, it doesn\'t make any big thought over m5d...

Ary
Title:
Post by: psyche on February 20, 2005, 02:45:45 pm
This problem was finally resolved by manualy editing mysql records and using md5(); php function to encode the password.

Maybe it would have been possible to use the php pages in the \"www\" directory in the main path of planeshift too ...
Title:
Post by: Aerig on February 24, 2005, 03:31:41 pm
I had the same problem. Using the newacct command from the server console does not encrypt the password for the new account.

But, if you set up the web console, it creates accounts correctly