projects
/
oweals
/
minetest.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
36c9463
)
Fix authentication handler reporting failed password change while it isn't
author
Perttu Ahola
<celeron55@gmail.com>
Sat, 31 Mar 2012 14:41:04 +0000
(17:41 +0300)
committer
Perttu Ahola
<celeron55@gmail.com>
Sat, 31 Mar 2012 14:41:04 +0000
(17:41 +0300)
builtin/builtin.lua
patch
|
blob
|
history
diff --git
a/builtin/builtin.lua
b/builtin/builtin.lua
index 2ca5f15a205f77b4a5342c81cdb88c601732ddac..d681faa738cf932c7070eb4dff149aa7021ab355 100644
(file)
--- 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")