CodeIgniter Forums

Full Version: [split] admin login
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello every one,
I am new here . I need some help
I have developed a project in codeigniter but I have Admin Auth Problem
I have authenticate the admin controller but Classes of admin controller are still accessible from url
I want a function which check for admin login and grant access to controller and its classes
Which function i should use
Like laravel provide middle-ware
CodeIgniter .........????
Plz Guide me ...
@[email protected]

You have ask a loaded question. Here is one suggestion. Community Auth @ https://community-auth.com/. The developer is @skunkbad who is active in the CI forums.
Here is another good solution: https://github.com/benedmunds/CodeIgniter-Ion-Auth
Very easy to use Smile