emreakay / CodeIgniter-Aauth

Authorization, Authentication and User Management library for Codeigniter 2.x and 3.x to make easy user management and permission operations
http://emreakay.com
GNU Lesser General Public License v3.0
393 stars 234 forks source link

Can i create some more columns in Aauth users table ? #253

Closed ikramkhizar closed 4 years ago

ikramkhizar commented 4 years ago

i want to create three more columns in aauth users that will be first_name, last_name, mobile_no is that worked ? and what are the side effects of creating manual columns

emreakay commented 4 years ago

u can also use user_variables for that kind of issues. https://github.com/emreakay/CodeIgniter-Aauth/wiki/7)-User-Variables

ikramkhizar commented 4 years ago

but that's to complex if i want to get three user variables, it's easy to get aauth users table if it is there

mhcifci commented 4 years ago

but that's to complex if i want to get three user variables, it's easy to get aauth users table if it is there

You can add columns to the table. And I'd like to say a simpler method. You can bring user data with a simple function.

Wherever you use it, just write it like this.

<?php userData()->name (or column name) ?>

Best Regards