mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 08:35:20 +02:00
Fix authentication handler reporting failed password change while it isn't
This commit is contained in:
@@ -1329,6 +1329,7 @@ minetest.builtin_auth_handler = {
|
|||||||
minetest.auth_table[name].password = password
|
minetest.auth_table[name].password = password
|
||||||
save_auth_file()
|
save_auth_file()
|
||||||
end
|
end
|
||||||
|
return true
|
||||||
end,
|
end,
|
||||||
set_privileges = function(name, privileges)
|
set_privileges = function(name, privileges)
|
||||||
assert(type(name) == "string")
|
assert(type(name) == "string")
|
||||||
|
Reference in New Issue
Block a user