User Can't Log Back In After Clicking Log Out

Description:
Been confused for a bit now. Every time I click the button logout I return to the login page, which is good. Though when I go to log back in, I am greeted with the message (alert) that is that the users account needs to be accepted by an admin (The account is accepted). (This is a CAD). I’m able to get in by clicking ‘run as’ in app data.
Screenshots:
LOGIN WORKFLOW:


LOGOUT BUTTON WORKFLOW (under page home):

FYI; I have approved myself

Looks like it is in the second action of the second workflow? what is the conditional?

Only when current user IsApproved is “yes”

I may be wrong, but your issue may be that your are asking to see if the current user IsApproved before they are logged in, so they wont be the current user. try changing the arguments to:

Only when: Search for users (email =user names input) :First item’s IsApproved is “no”
Only when: Search for users (email =user names input) :First item’s IsApproved is “Yes”

1 Like

That Worked! Thanks!

This topic was automatically closed after 70 days. New replies are no longer allowed.