How to edit/disable mx.login javascript

0
Hi all, we're currently facing a challenge where we implemented MFA in an application.  User has to fill in username, password, Google auth. This is checked in the login microflow we created and a session is created if all is valid. However this can be bypassed by using the mx.login javascript action (which only validates username and password). I found the action in the mxui.js (inside the resources.zip) but can't seem to edit and have mendix compile it into the deployment directory. Does anyone have any experience changing this?
asked
1 answers
1

Found this post, with some adjustments I managed to get it working

https://bartgroot.nl/mendix/custom-checks-on-login/

answered