shailen Posted February 4, 2014 Share Posted February 4, 2014 Hi. I am new to yii and am working on a project using the yii framework. I need to authenticate three different users from three different tables on same login form.Can you please help me out Link to comment Share on other sites More sharing options...
Jonathon Posted February 4, 2014 Share Posted February 4, 2014 I would recommend you don't have 3 user tables. I've made this mistake before. See Thomas's (Antonio) post here: http://www.larryullman.com/forums/index.php?/topic/2577-registration-with-2-models/ Link to comment Share on other sites More sharing options...
Edward Posted February 5, 2014 Share Posted February 5, 2014 I was thinking of doing that but never bothered, if you check Joomla or other programs they just use one table for the users it easier that way. I guess if you wanted to be even safer you could have admin login from another type of software that was not php connected directly to the MySQL. I do worry that having a website that you can log into admin functionality online could be dangerous. Link to comment Share on other sites More sharing options...
Recommended Posts