From 75fb5563b20143df2e72be87076be054564343f8 Mon Sep 17 00:00:00 2001 From: richard Date: Tue, 23 Oct 2001 23:52:35 +0000 Subject: [PATCH] Fixed lock-out logic, thanks Roch'e for pointing out the problems. git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@334 57a73879-2fb5-44c3-a270-3262357dd7e2 --- roundup/cgi_client.py | 33 ++++++++++++++++++++------------- 1 file changed, 20 insertions(+), 13 deletions(-) diff --git a/roundup/cgi_client.py b/roundup/cgi_client.py index c978b3d..d65b2e0 100644 --- a/roundup/cgi_client.py +++ b/roundup/cgi_client.py @@ -15,7 +15,7 @@ # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. # -# $Id: cgi_client.py,v 1.40 2001-10-23 23:06:39 richard Exp $ +# $Id: cgi_client.py,v 1.41 2001-10-23 23:52:35 richard Exp $ import os, cgi, pprint, StringIO, urlparse, re, traceback, mimetypes import base64, Cookie, time @@ -512,7 +512,7 @@ class Client: ''') - if self.user is None and not self.ANONYMOUS_REGISTER == 'deny': + if self.user is None and self.ANONYMOUS_REGISTER == 'deny': self.write('