summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Auth/Login/WWW/CGI.pm
diff options
context:
space:
mode:
Diffstat (limited to 'Bugzilla/Auth/Login/WWW/CGI.pm')
-rw-r--r--Bugzilla/Auth/Login/WWW/CGI.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/Bugzilla/Auth/Login/WWW/CGI.pm b/Bugzilla/Auth/Login/WWW/CGI.pm
index fb00cd018..3b90ec6ad 100644
--- a/Bugzilla/Auth/Login/WWW/CGI.pm
+++ b/Bugzilla/Auth/Login/WWW/CGI.pm
@@ -186,6 +186,9 @@ sub login {
type => $type, });
}
+# This auth style allows the user to log out.
+sub can_logout { return 1; }
+
# Logs user out, according to the option provided; this consists of
# removing entries from logincookies for the specified $user.
sub logout {