Ion Auth - Lightweight Auth System based on Redux Auth 2 |
[eluser]gmoore[/eluser]
Hey Ben, et al I'm hoping to use Ion Auth for a Codeigniter application, but I'm unsure of exactly how to structure the tables appropriately. Basically, I have a few different types of users each with different attributes. How would one build this out with just a single meta table? Some ideas were offered here ( http://stackoverflow.com/questions/62400...g-ion-auth ) but none seem particularly elegant or ideal. Is there a a better way? Can I easily work with multiple meta tables (e.g. meta_type1, meta_type2, etc.) somehow? A related issue pertains to the "identity" config parameter for login etc. How could I have the identity be email for one user type, and username for another? Thanks in advance for any tips/advice/ideas. I'm interested to hear what you think Ben, but also what others have done to build in this kind of functionality. |
Welcome Guest, Not a member yet? Register Sign In |