[LiveUser] example3 with two user tables ?
| From: | (was) Benedikt Laube | Date: | Fri, 07 May 2004 13:03:34 +0000 |
| Subject: | [LiveUser] example3 with two user tables ? | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-12345@lists.php.net to get a copy of this message | ||
Hello pear-general,
I have managed to adjust the example3 which comes with LiveUser
for my needs. LiveUser really is the "don" of auth / perm
systems!
One thing I cannot figure out: I am using the MySQL container
exactly like in example3. Now what I need is to have the auth
system check two database tables for the user instead of just
one.
Right now, it tries to match the handle / password to
liveuser_users. I need to put my admins into another table,
i.e. liveuser_admin_users and have the class check this table as
well if the user isn't found in the first table.
Is there an easy way to extend example3 to check 1-2 (or even
more) user tables?
Thank you in advance!
Benedikt Laube
--
bene@wordandsound.net