I want Admin to login into the system whereas other user should be blocked for manual login

0
Hello, I used local login filter module to block the users of application. I called the after startup microflow in my global startup microflow and set the enabled constant for blocking manual user login, with this all the users are getting blocked but I need to allow admin of the application to login so I created a custom microflow and called it in after startup microflow of local login filter module and passed the returned value while checking the condition too. Still it doesn't work and all users get blocked.    Can someone help me with this ?
asked
2 answers
1

Hi Neha,

     If the existing solution is not worked try creating custom login microflow in that check the userole and block the admin.

answered
0

Hi Neha Jagtap,

 

In microflow retrieve account with xpath

[  (    System.UserRoles = '[%UserRole_Administrator%]'  )]

and check if admin user role, if it is pass to happy path else block the user

answered