CodeIgniter Forums
code extinguisher (codex) login system - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: code extinguisher (codex) login system (/showthread.php?tid=13292)



code extinguisher (codex) login system - El Forum - 11-17-2008

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


code extinguisher (codex) login system - El Forum - 11-18-2008

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

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


code extinguisher (codex) login system - El Forum - 11-18-2008

[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??


code extinguisher (codex) login system - El Forum - 11-18-2008

[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