core/usermanager.lua@57e4eb3aeac0
core/usermanager.lua
Sun, 24 Aug 2008 18:01:20 +0100
- author
- matthew@silver
- date
- Sun, 24 Aug 2008 18:01:20 +0100
- changeset 5
- 57e4eb3aeac0
- child 38
-
3fdfd6e0cb4e
- permissions
- -rw-r--r--
Added all the files to please hg :/
require "util.datamanager"
local datamanager = datamanager;
module "usermanager"
function validate_credentials(host, username, password)
local credentials = datamanager.load(username, host, "accounts") or {};
if password == credentials.password then return true; end
return false;
end