Welcome Guest, Not a member yet? Register   Sign In
Ion Auth - Lightweight Auth System based on Redux Auth 2

[eluser]sevengraff[/eluser]
Hello friends, just started digging into ion_auth and it looks pretty great. Gonna save me some time.
I have a question on expanding data on the users. I need to have information on addresses for all my users. Street/city/state/zip, the usual stuff. Should I add these fields to the users table or make my own table for user data? If I make the fields non-null, will that break inserts when ion_auth creates users?

Edit:
I have a follow up question. Is it ok to use
Code:
$this->ion_auth->is_admin()
or other user checks in the constructor of a Controller? If the authorization check fails, I want to redirect the user right away, without having to put in a checking code at the top of all the methods in the controller class. Whats the best way to do this and avoid code duplication?


Messages In This Thread
Ion Auth - Lightweight Auth System based on Redux Auth 2 - by El Forum - 05-25-2012, 12:14 PM



Theme © iAndrew 2016 - Forum software by © MyBB