active field in users table of Shield |
Hi there, trying Shield. When active field in users table is 0, users CAN login anyway. Is that correct?
Thanks!
User table active is for when you activate the user, like you send them and email to activate their account.
If active is false the user should not be able to login until active is true. What did you Try? What did you Get? What did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )
Yes, correct. I understand the concept but currently if the active field is 0 (does not accept NULL) the user can log in anyway.
Therefore I understand that it is not yet implemented in shield. That's correct? Thanks
@Lihuen This issue has been resolved. If the user is not active, it is not possible to login.
Hi,
I have updated to the latest Codeigniter 4.4.1 using composer. My composer.json has the line "codeigniter4/shield": "^1.0.0-beta" and as far as I can tell I have v1.0.0-beta.6 installed. Should the active user fix have been implemented as I am still able to login as a user with active = 0 in the users table. Is there something else I need to do? Thanks Mark |
Welcome Guest, Not a member yet? Register Sign In |