fix post request
This commit is contained in:
parent
aba3a484b7
commit
17ab0b1840
@ -6,5 +6,6 @@ def changepassword():
|
|||||||
if request.method == 'GET':
|
if request.method == 'GET':
|
||||||
return render_template('index.html')
|
return render_template('index.html')
|
||||||
elif request.method == 'POST':
|
elif request.method == 'POST':
|
||||||
|
return 'Post'
|
||||||
else:
|
else:
|
||||||
return 'HTTP request method not recogniezed'
|
return 'HTTP request method not recogniezed'
|
||||||
|
Loading…
Reference in New Issue
Block a user