forked from github/server
Irreführende Meldung bei Doppel-Bestätigung
This commit is contained in:
parent
1309dba1ec
commit
b8df77a388
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue