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