summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
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'));
}