diff options
author | Perttu Ahola <celeron55@gmail.com> | 2012-03-31 17:41:04 +0300 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2012-03-31 17:41:04 +0300 |
commit | a18326e97ab96dd74f49760b4d3e069bda89abfc (patch) | |
tree | cf2fe540cebc8694a0ed2e9d7e59494aaf457675 /builtin | |
parent | 36c9463467d8381a685742cd57111056a49cae8a (diff) | |
download | minetest-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.lua | 1 |
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") |