PlaneShift
Development => Development Deliberation => Topic started 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 ...
-
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.
-
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
-
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 ...
-
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