WWW::Authen::Simple table lookup

WWW::Authen::Simple table lookup

am 08.06.2005 09:20:37 von Iain

I am trying to use the above modules for a login application. My
existing database structure uses the table 'users' to hold account
information that I would like the lookup performd on. I've therefore
created the following to reflect this:

*** START ***
if ($url{mode} eq undef){&page_login;}

my $simple = WWW::Authen::Simple->new(
db => $dbconn,
cookie_domain => $defDomain,
conf => {
session_table => {
_table => 'sessions',
login => 'username',
address => 'address',
ticket => 'ticket',
point => 'point',
},
user_table => {
_table => 'users',
login => 'email',
passwd => 'clear',
},
},
);
$simple->logout() if $url{mode} eq "logout";
$simple->login( $url{loginUser}, $url{loginPass} );
unless ($simple->logged_in())
{
print redirect('/cgi-bin/mta.pl');
}
*** END ***

My problem now is that according to my Apache error logs the module
seems to still be looking for a table named 'Users'.

Am I missing something here??

Regs.

Iain.