diff options
author | christopherm <christopherm@4979c152-3d1c-0410-bac9-87ea11338e46> | 2006-09-01 14:24:34 +0000 |
---|---|---|
committer | christopherm <christopherm@4979c152-3d1c-0410-bac9-87ea11338e46> | 2006-09-01 14:24:34 +0000 |
commit | ad02e552df4beb1dfc82f45c5d7eaf47f3f54003 (patch) | |
tree | f87cc098006d64fc4ce599d353da6ac0a9da3cdd | |
parent | f93ac00507c60e11a511970c173f31ee0fa99059 (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
-rwxr-xr-x | bin/mozilla/admin.pl | 2 |
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')); } |