summaryrefslogtreecommitdiffstats
path: root/authenticator-freeswitch-vmail.lua
diff options
context:
space:
mode:
Diffstat (limited to 'authenticator-freeswitch-vmail.lua')
-rw-r--r--authenticator-freeswitch-vmail.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/authenticator-freeswitch-vmail.lua b/authenticator-freeswitch-vmail.lua
index 92aa29d..34e5e24 100644
--- a/authenticator-freeswitch-vmail.lua
+++ b/authenticator-freeswitch-vmail.lua
@@ -16,7 +16,7 @@ read_field = function(self, tabl, field)
local vmcontroller = self:new("freeswitch-vmail/vmail")
local users = vmcontroller.model.list_passwords()
for i,val in ipairs(users.value) do
- local string = md5.sumhexa(val.password)..":Voicemail User:/freeswitch-vmail/vmail/USER"
+ local string = md5.sumhexa(val.password)..":Voicemail User:/freeswitch-vmail/vmail/USER::/freeswitch-vmail/vmail/listmymessages"
result[#result+1] = { id=val.username, entry=string }
end
vmcontroller:destroy()
@@ -41,7 +41,7 @@ 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
- result = md5.sumhexa(users.value[1].password)..":Voicemail User:/freeswitch-vmail/vmail/USER"
+ result = md5.sumhexa(users.value[1].password)..":Voicemail User:/freeswitch-vmail/vmail/USER::/freeswitch-vmail/vmail/listmymessages"
end
vmcontroller:destroy()
end