[mod_voicemail] Fix voicemail ignoring vm-a1-hash

This commit is contained in:
Martin Paterson 2021-12-28 16:02:02 +00:00 committed by GitHub
parent de70d9d493
commit 083a9ab1c3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -2583,7 +2583,7 @@ static void voicemail_check_main(switch_core_session_t *session, vm_profile_t *p
if (!auth) {
if (!zstr(cbt.password) && !strcmp(cbt.password, mypass)) {
auth++;
} else if (!thepass && profile->allow_empty_password_auth) {
} else if (!thehash && !thepass && profile->allow_empty_password_auth) {
auth++;
}