diff options
author | Yorhel <git@yorhel.nl> | 2008-10-31 13:58:48 +0100 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2008-10-31 13:58:48 +0100 |
commit | 4b0b447e310094dc289c29ad471bd2680efb68cd (patch) | |
tree | e3caf7b0f60d74944cd856daeb8f0885849960af /lib/VNDB/Util/Auth.pm | |
parent | d5bc5cf2169116a9a4b30377ef2e28603fc4e3ea (diff) |
A few small fixes, working logout function and added a nonworking user menu and login form
Diffstat (limited to 'lib/VNDB/Util/Auth.pm')
-rw-r--r-- | lib/VNDB/Util/Auth.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/VNDB/Util/Auth.pm b/lib/VNDB/Util/Auth.pm index 5ac9218f..0614945a 100644 --- a/lib/VNDB/Util/Auth.pm +++ b/lib/VNDB/Util/Auth.pm @@ -53,7 +53,7 @@ sub authLogin { sub authLogout { my $self = shift; $self->resRedirect('/', 'temp'); - $self->resAddHeader('Set-Cookie', "vndb_auth= ; expires=Sat, 01-Jan-2000 00:00:00 GMT; path=/; domain=$self->{cookie_domain}"); + $self->resHeader('Set-Cookie', "vndb_auth= ; expires=Sat, 01-Jan-2000 00:00:00 GMT; path=/; domain=$self->{cookie_domain}"); } |