February 10th, 2005

(no subject)

Default doc/fbconfig.pl.txt:
    # default capability class mask for new users: 
    # (16 bit unsigned int ... each bit is capability class flag)
    $NEWUSER_CAPS = 0;

But create_user checks another variable:
    $ref->{'caps'}      ||= $FB::DEFAULT_CAPS+0;

Is at a typo in fbconfig.pl.txt or I am doing something wrong?

And another question, how to hook up my own auth module? I see a Collapse ) in fotobilder.pl but don't have a clue how to pass $class variable here.

Update: I'm really dumb. http://www.livejournal.com/community/fotobilder/48777.html#cutid1