Ion Auth - Lightweight Auth System based on Redux Auth 2 |
[eluser]Todlerone[/eluser]
[quote author="Ben Edmunds" date="1291282543"]Todlerone, To expand on/clarify what techgnome said. You should remove the username column from the meta table as it already exists in the users table, then when creating the user with ion_auth->register() you will pass in the username and meta data and it will propagate the correct tables. Also make sure you update your ion_auth config file with your meta columns.[/quote] TY very much Ben. Your an asset to codeigniter and open source. I have taken the username out of the meta table. I'm slowly understanding the inner workings of Ion Auth and it is doing exactly what I want. Can I ask you two more questions? 1) For my purposes I'm not allowing people to register themselfs, I'm doing it as admin only. This is for a very select group of people. I do want to be able to set there group names in the create form. What all do I need to do to make this happen? I suspect I can load the groups into an array and pass this to a select form input easily enough. Just not completely sure what else is needed other then following errors until I get it. I tried this and have come up against something I did that I can't fix...which leads me to question 2. 2) I'm now getting this error when I try to create a user. Code: Column 'group_id' cannot be null Not sure where I screwed up. TY for your time. CHEERS |
Welcome Guest, Not a member yet? Register Sign In |