Hello, I was wondering if someone can help. We have set up a page with two buttons one leads to a “client login” page and the other links to an “admin login” page. The admin login goes to a list of all current and past clients and the client login goes to their tip information. The issue we are facing is that a client can log in as a admin and vise versa, I have set up two true/false properties in the users database - one is “admin?” Set to true on the admin users and one called “Clients?” This is set to true on the client users. These are both set to false for the opposite, so the admin is set for true in “admin?” And false in “client?” But we are still facing the issue that the client can login as a admin if they go to the admin login page.
I would like the clients to be redirected to the client login page when they try and login as an admin.