aboutsummaryrefslogtreecommitdiff
path: root/builtin
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2012-03-31 17:41:04 +0300
committerPerttu Ahola <celeron55@gmail.com>2012-03-31 17:41:04 +0300
commita18326e97ab96dd74f49760b4d3e069bda89abfc (patch)
treecf2fe540cebc8694a0ed2e9d7e59494aaf457675 /builtin
parent36c9463467d8381a685742cd57111056a49cae8a (diff)
downloadminetest-a18326e97ab96dd74f49760b4d3e069bda89abfc.tar.gz
minetest-a18326e97ab96dd74f49760b4d3e069bda89abfc.tar.bz2
minetest-a18326e97ab96dd74f49760b4d3e069bda89abfc.zip
Fix authentication handler reporting failed password change while it isn't
Diffstat (limited to 'builtin')
-rw-r--r--builtin/builtin.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/builtin/builtin.lua b/builtin/builtin.lua
index 2ca5f15a2..d681faa73 100644
--- a/builtin/builtin.lua
+++ b/builtin/builtin.lua
@@ -1329,6 +1329,7 @@ minetest.builtin_auth_handler = {
minetest.auth_table[name].password = password
save_auth_file()
end
+ return true
end,
set_privileges = function(name, privileges)
assert(type(name) == "string")