зеркало из https://github.com/mozilla/pjs.git
b=423239
- send header before redirect or else it won't work
This commit is contained in:
Родитель
33f03cb7b6
Коммит
c0ccb3d9be
|
@ -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'})
|
||||
);
|
||||
|
|
Загрузка…
Ссылка в новой задаче