- send header before redirect or else it won't work
This commit is contained in:
ccooper%deadsquid.com 2008-03-17 13:40:36 +00:00
Родитель 33f03cb7b6
Коммит c0ccb3d9be
1 изменённых файлов: 1 добавлений и 0 удалений

Просмотреть файл

@ -58,6 +58,7 @@ Litmus::Auth::requireLogin("index.cgi");
# if we end up here, it means the user was already logged in
# for some reason, so we should send a redirect to index.cgi:
print $c->header();
print $c->start_html(-title=>'Please Wait',
-head=>$c->meta({-http_equiv=> 'refresh', -content=>'0;url=index.cgi'})
);