minetest.set_player_password - Uberi/MineTest-API GitHub Wiki
Set the password of a given player to a hash.
set_player_password([string](../type/string.html) name, [string](../type/string.html) password_hash)
minetest.set_player_password("foobar", minetest.get_password_hash("foobar", "my password"))