Authentication + authorisation in Codeigniter 3 |
Hello,
can you help me to find out how to make authentication and authorisation in Codeigniter 3? I found Tank auth. But it seems it is not compatible with newest CI. It sets item in config which does not exists in my config file and throws me an error: "Unable to load the requested language file: language/slovak/db_lang.php" ... Is there a good one which can manage roles, has a good documentation and is easy to install?
OK I fix that error with language.
Now it throws an error: "Unknown column 'data' in 'field list'" It seems it is the problem with session library which expects user_data field in ci_sessions table. That table comes from Tank auth download. How can I fix that? Is it possible to simple change the field name to user_data? (09-02-2015, 12:11 PM)Camo Wrote: Hello, Try with the following library, I think is good and easy to use: https://github.com/benedmunds/CodeIgniter-Ion-Auth
Greetings.
Thanks I will try it.
But what about that Tank auth? Does it work? I fix that error with language from first post. Now it throws me an error "Unknown column 'data' in 'field list'" It seems that session library can not find data field in ci_session table. My ci_session table comes from Tank auth. Is there a way to fix that? PS: Dear admin! This security politics is really sick! Where are my previous posts? How can I communicate with other users?!
What do you use in your projects? That https://github.com/benedmunds/CodeIgniter-Ion-Auth looks really good. I don't know which to choose.
(09-02-2015, 06:28 PM)solidcodes Wrote: Try http://community-auth.com/ Ooo, that looks like a really good auth system. I have recently finished doing my own one, but it is nowhere near as good as this one. Hopefully I will remember that resource next time I need to do one. Thanks for the link. Paul. |
Welcome Guest, Not a member yet? Register Sign In |