summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbuglist.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/buglist.cgi b/buglist.cgi
index 9c3a5df91..ce824ea57 100755
--- a/buglist.cgi
+++ b/buglist.cgi
@@ -1117,7 +1117,7 @@ if ($::FORM{'cmdtype'} eq "dorem") {
exit;
}
}
-elsif ($::FORM{'cmdtype'} eq "doit") {
+elsif ($::FORM{'cmdtype'} eq "doit" && $::FORM{'remember'}) {
if ($::FORM{'remember'} == 1 && $::FORM{'remtype'} eq "asdefault") {
confirm_login();
my $userid = DBNameToIdAndCheck($::COOKIE{"Bugzilla_login"});