diff options
author | Yorhel <git@yorhel.nl> | 2008-10-31 12:04:08 +0100 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2008-10-31 12:04:08 +0100 |
commit | d5bc5cf2169116a9a4b30377ef2e28603fc4e3ea (patch) | |
tree | c79c61fbee5376ef9919e3ea671680ab0afa5e29 /util/vndb.pl | |
parent | f266cd214111a1c71f705edbc9243d8625693003 (diff) |
Added some authentication and user functions
Diffstat (limited to 'util/vndb.pl')
-rwxr-xr-x | util/vndb.pl | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/util/vndb.pl b/util/vndb.pl index a076dcc8..c1810148 100755 --- a/util/vndb.pl +++ b/util/vndb.pl @@ -29,7 +29,13 @@ require $ROOT.'/data/global.pl'; YAWF::init( %O, namespace => 'VNDB', - object_data => \%S + object_data => \%S, + pre_request_handler => \&reqinit, ); +sub reqinit { + my $self = shift; + $self->authInit; +} + |