summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorchristopherm <christopherm@4979c152-3d1c-0410-bac9-87ea11338e46>2006-09-01 14:24:34 +0000
committerchristopherm <christopherm@4979c152-3d1c-0410-bac9-87ea11338e46>2006-09-01 14:24:34 +0000
commitad02e552df4beb1dfc82f45c5d7eaf47f3f54003 (patch)
treef87cc098006d64fc4ce599d353da6ac0a9da3cdd /bin
parentf93ac00507c60e11a511970c173f31ee0fa99059 (diff)
unlink of adminhash and cookie delete was at the wrong place, should be before redirect
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@10 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'bin')
-rwxr-xr-xbin/mozilla/admin.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/mozilla/admin.pl b/bin/mozilla/admin.pl
index 77a33aae..e7021d5a 100755
--- a/bin/mozilla/admin.pl
+++ b/bin/mozilla/admin.pl
@@ -129,9 +129,9 @@ sub login {
sub logout {
$form->{callback} = "$form->{script}?path=$form->{path}&endsession=1";
- $form->redirect($locale->text('You are logged out'));
unlink "$userspath/adminhash";
print qq|Set-Cookie: LedgerSMB=; path=/;\n|;
+ $form->redirect($locale->text('You are logged out'));
}