... and a second bug
This commit is contained in:
parent
739033c065
commit
1a09d2ca9d
1 changed files with 1 additions and 1 deletions
2
login.py
2
login.py
|
@ -29,7 +29,7 @@ def process_form(req,form):
|
||||||
req.write(login_form(req,form))
|
req.write(login_form(req,form))
|
||||||
else: #no such user
|
else: #no such user
|
||||||
req.write("Login incorrect. Please try again.-<br>")
|
req.write("Login incorrect. Please try again.-<br>")
|
||||||
req.write(login_form())
|
req.write(login_form(req,form))
|
||||||
else: #one of (name,password) is missing:
|
else: #one of (name,password) is missing:
|
||||||
req.write("Please enter your name and password.")
|
req.write("Please enter your name and password.")
|
||||||
req.write(login_form(req,form))
|
req.write(login_form(req,form))
|
||||||
|
|
Loading…
Reference in a new issue