CodeIgniter Forums
Myth:Auth users table name - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: CodeIgniter 4 (https://forum.codeigniter.com/forumdisplay.php?fid=28)
+--- Forum: CodeIgniter 4 Addins (https://forum.codeigniter.com/forumdisplay.php?fid=34)
+--- Thread: Myth:Auth users table name (/showthread.php?tid=79844)



Myth:Auth users table name - badger - 08-03-2021

I thought i could rename my users table and change the value of "protected $table" in "myth\auth\models\usermodel" from "users" to "auth_users" so as to have all the mythauth tables in a bunch but it doesnt work, it still insists on using the "users" table. Is there something else I need to change. I cant find any other reference to the keyword "users" anywhere in the mythauth code.
thanks Bill


RE: Myth:Auth users table name - InsiteFX - 08-03-2021

Look at the Myth/Auth services file you will see what is going on.


RE: Myth:Auth users table name - badger - 08-04-2021

many thanks