mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-02 10:03:49 +00:00
Adjust the voicemail_authorized if statement.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user