From b8df77a388fe656a491c9ca626e6098fe7f4023d Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Sat, 13 Apr 2002 12:36:14 +0000 Subject: [PATCH] =?UTF-8?q?Irref=C3=BChrende=20Meldung=20bei=20Doppel-Best?= =?UTF-8?q?=C3=A4tigung?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/cgi-bin/eressea-confirm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/cgi-bin/eressea-confirm.py b/scripts/cgi-bin/eressea-confirm.py index 567a96455..9b78e62ce 100755 --- a/scripts/cgi-bin/eressea-confirm.py +++ b/scripts/cgi-bin/eressea-confirm.py @@ -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('

Kundennummer oder Schlüssel falsch. Bitte beachte, dass Du beim Schlüssel auf Groß- und Kleinschreibung achten mußt.') else: