I am looking at incorporating a solution where I can disable a user in the user table.
This will mean we can stop the user logging into the system but be available for other parts of the solution.
I have added a new field called “login enabled” but when clicking on the login button and doing a search for the user table using the email and field contents it seems to ignore searching this table.
I tried creating a table manually with email and the same field and when doing a search on this table it appeared to work.
I dont want to have a second table but has anyone managed to get the field working in the user table to stop users being able to be logged in and display a message on the front end.
Driving me mad now but trying a second table seems to prove that this is related to the user table and maybe some level of protection on it? The debug mode seems to show that the values (email and search for entry) are displayed but the ‘do a search for’ doesnt seem to use them!
Any help would be massively appreciated!