Irreführende Meldung bei Doppel-Bestätigung

This commit is contained in:
Enno Rehling 2002-04-13 12:36:14 +00:00
parent 1309dba1ec
commit b8df77a388
1 changed files with 1 additions and 1 deletions

View File

@ -67,7 +67,7 @@ if (password==None) or (custid==None):
else:
db=MySQLdb.connect(db=dbname)
cursor=db.cursor()
exist=cursor.execute("select id from users where id="+custid+" and status='WAITING' and password='"+password+"'")
exist=cursor.execute("select id from users where id="+custid+" and status in('WAITING','CONFIRMED') and password='"+password+"'")
if exist==0:
Display('<p>Kundennummer oder Schlüssel falsch. Bitte beachte, dass Du beim Schlüssel auf Groß- und Kleinschreibung achten mußt.')
else: