Adjust the voicemail_authorized if statement.
This commit is contained in:
parent
73096006a2
commit
b01ccb2ebb
|
|
@ -215,14 +215,14 @@
|
||||||
if (session:ready()) then
|
if (session:ready()) then
|
||||||
--check the voicemail password
|
--check the voicemail password
|
||||||
if (voicemail_id) then
|
if (voicemail_id) then
|
||||||
if (voicemail_authorized == nil) then
|
if (voicemail_authorized) then
|
||||||
check_password(voicemail_id, password_tries);
|
|
||||||
else
|
|
||||||
if (voicemail_authorized == "true") then
|
if (voicemail_authorized == "true") then
|
||||||
--skip the password check
|
--skip the password check
|
||||||
else
|
else
|
||||||
check_password(voicemail_id, password_tries);
|
check_password(voicemail_id, password_tries);
|
||||||
end
|
end
|
||||||
|
else
|
||||||
|
check_password(voicemail_id, password_tries);
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
check_password(voicemail_id, password_tries);
|
check_password(voicemail_id, password_tries);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue