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 /data | |
parent | f266cd214111a1c71f705edbc9243d8625693003 (diff) |
Added some authentication and user functions
Diffstat (limited to 'data')
-rw-r--r-- | data/global.pl | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/data/global.pl b/data/global.pl index f566f2b4..0c520717 100644 --- a/data/global.pl +++ b/data/global.pl @@ -17,6 +17,16 @@ our %S = ( version => 'beta', url => 'http://vndb.org', url_static => 'http://s.vndb.org', + cookie_domain => '.vndb.org', + cookie_key => 'any-private-string-here', + user_ranks => [ + # rankname allowed actions # DB number + [qw| visitor hist |], # 0 + [qw| loser hist |], # 1 + [qw| user hist board edit |], # 2 + [qw| mod hist board boardmod edit mod lock del |], # 3 + [qw| admin hist board boardmod edit mod lock del usermod |], # 4 + ], ); |