Forum Academy Marketplace Showcase Pricing Features

User Authorization

Hi guys i need a little help implementing an admin feature that helps me authorize users after they sign up. currently there are two flags that i have set to control log in and redirection, the user approved field if yes and the user admin field is no should send the user to the retail side of the application but instead i get redirected to the no access page if have created to redirect users who have no been authorized. meanwhile for admin users everything works fine provide the right flags have been set this is my workflow and data structure.




Looking to your workflow I noticed that everyone that have been approved (Approved is yes) is going to the page “admin_dashboard”.

So, the last step of your workflow will never be reached if the current user is already approved…

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