summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/mozilla/login.pl10
1 files changed, 5 insertions, 5 deletions
diff --git a/bin/mozilla/login.pl b/bin/mozilla/login.pl
index 6d690984..00ecf829 100755
--- a/bin/mozilla/login.pl
+++ b/bin/mozilla/login.pl
@@ -329,12 +329,12 @@ sub login {
sub logout {
- $form->{callback} = "$form->{script}?path=$form->{path}&login=$form->{login}";
-
- $form->{endsession} = 1;
-
- $form->redirect;
+ $form->{callback} = "$form->{script}?path=$form->{path}&login=$form->{login}";
+ $form->{endsession} = 1;
+ #delete the cookie in the browser manually (can't use session_destroy here unfortunately)
+ print qq|Set-Cookie: LedgerSMB=; path=/;\n|;
+ $form->redirect;
}