remove unnecessary form action attributes

This commit is contained in:
David Lord 2016-06-22 15:01:41 -07:00
parent d8c39f4b37
commit cd1a9b7d54
4 changed files with 7 additions and 7 deletions

View file

@ -784,7 +784,7 @@ sessions work::
session['username'] = request.form['username']
return redirect(url_for('index'))
return '''
<form action="" method="post">
<form method="post">
<p><input type=text name=username>
<p><input type=submit value=Login>
</form>