Page 1 of 1

/setpassword command is broken

PostPosted: Fri Jun 15, 2012 17:27
by redcrab
if I'm TheAdmin and I'm typing /setpassword foo foosecret

the expected result is to have foo with a new password reflected by an base64 hashcode in auth.txt file like "foo:kjqskfjzkejf:shout"

but the foo password is not set and even worse TheAdmin has its password reset with something not hashed reflected in file auth.txt by

"TheAdmin:foo foosecret:interact,shout,setpassword"

PostPosted: Fri Jun 15, 2012 19:44
by celeron55
Oh, lol.

I added it as an issue on github (which you could've done too): https://github.com/celeron55/minetest/issues/121