Comparison

plugins/mod_auth_internal_hashed.lua @ 5782:f449da907b85

mod_auth_internal_hashed: Remove this 'initializing' message too
author Kim Alvefur <zash@zash.se>
date Sat, 10 Aug 2013 20:15:25 +0200
parent 5776:bd0ff8ae98a8
child 5783:3a81e3b0ea4f
comparison
equal deleted inserted replaced
5781:b374eb414a32 5782:f449da907b85
40 local iteration_count = 4096; 40 local iteration_count = 4096;
41 41
42 local host = module.host; 42 local host = module.host;
43 -- define auth provider 43 -- define auth provider
44 local provider = {}; 44 local provider = {};
45 log("debug", "initializing internal_hashed authentication provider for host '%s'", host);
46 45
47 function provider.test_password(username, password) 46 function provider.test_password(username, password)
48 local credentials = accounts:get(username) or {}; 47 local credentials = accounts:get(username) or {};
49 48
50 if credentials.password ~= nil and string.len(credentials.password) ~= 0 then 49 if credentials.password ~= nil and string.len(credentials.password) ~= 0 then