Ask a code for a specific user role

0
I want to add an extra security option for administrators. Normal users are allowed to login with only username/password. But I want to ask a code when the user is an administrator before he is really loggedin. Is there a way to do this?
asked
2 answers
2

In the microflow retrieve the userroles associated to the $currentUser having attribute name having the value “administrator”.

Edit after Rom’s advice and having userroles DepotManager and Shipper:

answered
0

Or try this module in the appstore: https://appstore.home.mendix.com/link/app/2948/Mendix/Google-Authenticator-Connector

Regards,

Ronald

 

answered