Custom login nanoflow only works for Admin, not for registered users
0
I created a custom login nanoflow in my app, but it is not working as expected. It only works for the Admin user role. When I log in with the Admin username and password, it first shows my error message and then redirects to the home page. However, when I register a new user and try to log in with that username and password, it doesn’t work — it just shows my popup message. Has anyone faced this issue before? How can I make the login nanoflow work for registered users as well, not only Admin?
asked
Madhan Kumar
3 answers
0
Madhan,
I can't see the first nanoflow entirely (the image was cut off), but it sounds like this may be a permissions issue. Did you check permissions on nanoflows, sub-nanoflows, pages, entities, etc. to ensure that all relevant user roles have the access rights they should have?
Hope that helps,
Mike
answered
Mike Kumpf
0
Hi Madhan Kumar,
When you are creating new user then which userRole you are assigning admin or user?
Please share the screenshot or elaborate more.
answered
Mohammad Saqib
0
Hi Madhan,
This may be of 3 things
1.Check the permission given for the necessary logics
2.Check the account table entry and userole of that user
3.Check the username and password which is typed by the user whether that is correct ot not!