summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2006-11-12 04:33:16 +0000
committereinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2006-11-12 04:33:16 +0000
commit02eb9b3912676b47b1371c8c9f6d1faac944bd2b (patch)
tree4761176cd8a5c872b6c3e4367057b4dc7b105e9d
parentf6009d77ba588f9b8942cb559871e1ac994967da (diff)
Added exit after redirect on logout
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@518 4979c152-3d1c-0410-bac9-87ea11338e46
-rw-r--r--common.pl1
1 files changed, 1 insertions, 0 deletions
diff --git a/common.pl b/common.pl
index efa872b4..54e45291 100644
--- a/common.pl
+++ b/common.pl
@@ -31,6 +31,7 @@ sub redirect {
if (!$script){ # http redirect to login.pl if called w/no args
print "Location: login.pl\n";
+ exit;
}
$form->error($locale->text("Invalid Redirect"))