UCP not working when PBX MFA is enabled

Recently, we purchased PBX MFA license for a year but upon enabling the said module our users unable to login, nothing happens when clicking on Login button and upon viewing the network in browser, it shows that there are problem accessing files which are 404 errors. See below image.

Our users accessing the UCP via https://domain.com:4443 which is having an issue.
but when we tried to access via https://domain.com/ucp there is no issue.

It seems there are a problem with the location of the PBX MFA module.

When accessing via https://domain.com/ucp no problem with this since the file ucplogin.css and ucplogin.js is also accessible for the user using port 443.

But using https://domain.com:4443 the problem here is FreePBX set the Document Root to under ucp folder then when the page is trying to access the said files it is not accessible because the admin folder is restricted.

Hopefully there will be some updates soon to fix this issue.

Thanks in advance.

1 Like

Hi @RenatoSSS22 Are you using the latest PBXMFA version 15.0.2.1 or 16.0.2.1 ?

fwconsole ma downloadinstall pbxmfa --tag=16.0.2.1

or

fwconsole ma downloadinstall pbxmfa --tag=15.0.2.1

Hi @kgupta,

Our system currently using the version 15.0.2.1. Tried to update using the command you’ve given but says doesn’t exist. Also, tried to enable edge mode but still no updates.

I can repro this on the current MFA version 15.0.2.1 and have opened a ticket. Thanks for the report @RenatoSSS22.

2 Likes

We were also able to reproduced on a fully patched PBXact system. We had to uninstall the 2FA Module to mitigate.Thanks for creating a ticket and thank you Sangoma for working so hard on the new welcomed module.

Hi @lgaetz

When do we expect the new version/ fixed PBXMA module?

Fix for this issue is in edge now with module versions:

framework 15.0.25
ucp 15.0.14.6
pbxmfa 15.0.2.2

framework 16.0.27
ucp 16.0.30
pbxmfa 16.0.2.2

2 Likes

Hi @lgaetz,

How long will it take before becomes available in stable version?

Hi @RenatoSSS22 Modules pushed to the stable so please give try. Thanks

1 Like

Hi @kgupta

Its working now. Do you have some plan to add email template for that module for us to customize and avoid confusion for our users. They didn’t know about FreePBX.

Yes we do have plan to add that functionality as well. @RenatoSSS22

I can not comment on the ETA as of now, will try to include that feature asap.

1 Like

Cool. Thanks @kgupta for the updates.