user authentication in codeigniter library ION AUTH |
I am trying to develop a web application with codeigniter where some information will be stored. To see those information users have to create an account and login. But after registration users need admins approval. If admin approve user registration request , then the user can login and see the information. Otherwise if user try to login , he/she will get an error message.
I have successfully developed user registration and login system with codeigniter library "ION AUTH" but the problem is that it needs admin approval, which I dont know how echatspin echatrandom to do it with "ION AUTH" library. Please somebody help me to do it.
What your looking for is the users table field activate.
Thats the one that allows login etc; if its true if false it willl not allow login. You can find this in the Database/Migrations What did you Try? What did you Get? What did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )
|
Welcome Guest, Not a member yet? Register Sign In |