After a user logs in I want them to be directed to the home page but only if “Admin” field on the user table is set to False. If true I want them to be directed to admin page.
I have added this to the link home action “Login” button on the login page by changing to sometimes and then added another directing to the admin page (sometimes)
It doesn’t seem to make any difference if the admin flag is true or false. They are never directed to the Admin page.
Can anyone help please?