summaryrefslogtreecommitdiffstats
path: root/authenticator-freeswitch-vmail.lua
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2015-06-25 23:45:37 -0400
committerTed Trask <ttrask01@yahoo.com>2015-06-25 23:45:37 -0400
commitcb3a60e65f91b83cdc83876378d70ced191e563e (patch)
tree1c14687a9b0c1a07a43656aca8ad69f053df8b75 /authenticator-freeswitch-vmail.lua
parent4fa07d4f009b19123ac4e331d3f90de1e16a9b7d (diff)
downloadacf-freeswitch-vmail-cb3a60e65f91b83cdc83876378d70ced191e563e.tar.bz2
acf-freeswitch-vmail-cb3a60e65f91b83cdc83876378d70ced191e563e.tar.xz
Bump version to 0.6.0v0.6.0
Diffstat (limited to 'authenticator-freeswitch-vmail.lua')
-rw-r--r--authenticator-freeswitch-vmail.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/authenticator-freeswitch-vmail.lua b/authenticator-freeswitch-vmail.lua
index e4072a6..77903e8 100644
--- a/authenticator-freeswitch-vmail.lua
+++ b/authenticator-freeswitch-vmail.lua
@@ -39,6 +39,7 @@ mymodule.read_entry = function(self, tabl, field, id)
local vmcontroller = self:new("freeswitch-vmail/vmail")
local users = vmcontroller.model.list_passwords(id)
if users and users.value and users.value[1] and users.value[1].password then
+-- TODO can change this from md5 to password hash, not that it really matters much as the result isn't stored anywhere
result = md5.sumhexa(users.value[1].password)..":Voicemail User:/freeswitch-vmail/vmail/USER::/freeswitch-vmail/vmail/listmymessages"
end
vmcontroller:destroy()