That's just a plugin hook so you can write a plugin that overrides the authentication system. Scroll down a little more to around line 263 and you should see where the Habari authentication kicks off...
On Sat, Apr 18, 2009 at 12:38 PM, Florian Thiel <[email protected]>wrote: > > Hello developers, > > this might sound mighty weird, but I cannot figure out how > authentication in habari actually happens. > > There's this snippet of htdocs/system/classes/user.php in habari 0.6 > below. Plugins::filter('user_authenticate', $user, $who, $pw) is > supposed to return a User object. But I cannot find a place where > 'user_authenticate' ever get registered. Where does the code live > that's called here? > > --- > ... > $user = new StdClass(); > $require = false; > $user = Plugins::filter('user_authenticate', $user, $who, > $pw); > if($user instanceof User) { > ... > --- > > Im probably missing something really trivial here... > Thanks in advance, > Florian > > > > --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/habari-dev -~----------~----~----~----~------~----~------~--~---
