CodeIgniter Forums

Full Version: code extinguisher (codex) login system
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum

[eluser]ocergyNohtna[/eluser]
is there an easy way to disable the login system in codex and simply use only a htpasswd protection method? anyone??

El Forum

[eluser]amites[/eluser]
why not just skip loading it?

CI does not come pre-bundled with a user auth system

El Forum

[eluser]ocergyNohtna[/eluser]
i tried removing codexlogin from the autoload but i get an error:

Call to a member function setPreDefinedAccessLevels() on a non-object in /site/htdocs/cps/codex/application/hooks/loginhook.php on line 19

what else should i need to do so it's not loaded??

El Forum

[eluser]amites[/eluser]
hooks are loaded differently then autoload, hooks are defined in the config file itself (don't quote me on that one - check user guide)

if you are still have trouble after that search through all files in the applications directory for

Code:
loginhook

to find out where it's being initialized, and remove anything else that appears related to codex