02-19-2016, 09:43 PM
So the US4 table has a column for active (0 or 1) and there is commented out code in the admin_user.php that actually does flip that bit if you set the thing between active and inactive (I'm 99{3bc1fe685386cc4c3ab89a3f76566d8931e181ad17f08aed9ad73b30bf28114d} sure of this). I've debated about how to handle this.
I have tried (and I'm sure I could get it right) to get the login method in the User class to do a check for that and boot the person, but it would be nice to have something a little more sophisticated. It was one of the things I gave up on just before 4.0 officially released because I wanted to do it right. We have to deal with the user trying to login. The user already having a remember me cookie, and any other issues of keeping unwanted people away. I'm sure the "guest tracking" feature could also be used to bounce someone to an error 404 if they were from a banned ip.
I have tried (and I'm sure I could get it right) to get the login method in the User class to do a check for that and boot the person, but it would be nice to have something a little more sophisticated. It was one of the things I gave up on just before 4.0 officially released because I wanted to do it right. We have to deal with the user trying to login. The user already having a remember me cookie, and any other issues of keeping unwanted people away. I'm sure the "guest tracking" feature could also be used to bounce someone to an error 404 if they were from a banned ip.