forked from orbit-oss/flask
remove unnecessary form action attributes
This commit is contained in:
parent
d8c39f4b37
commit
cd1a9b7d54
4 changed files with 7 additions and 7 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue