fix post request

This commit is contained in:
fram3d 2023-10-03 20:30:21 +02:00
parent aba3a484b7
commit 17ab0b1840
Signed by: fram3d
GPG Key ID: 938920E709EEA32A

View File

@ -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'