fix: success page
This commit is contained in:
parent
734f481715
commit
220d919f91
2
app.py
2
app.py
@ -127,7 +127,7 @@ def osintgeoguessr():
|
|||||||
def osintrht():
|
def osintrht():
|
||||||
return render_template('osint-hardtask.html')
|
return render_template('osint-hardtask.html')
|
||||||
|
|
||||||
@app.route("/success_login-sqltask", methods=('GET', 'POST'))
|
@app.route("/web/success_login-sqltask", methods=('GET', 'POST'))
|
||||||
def success_login():
|
def success_login():
|
||||||
flag = session.get('sql_flag')
|
flag = session.get('sql_flag')
|
||||||
if request.method == 'POST':
|
if request.method == 'POST':
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="flag-input ">
|
<div class="flag-input ">
|
||||||
<h3 class="header" style="text-align:left">Введите ответ:</h3>
|
<h3 class="header" style="text-align:left">Введите ответ:</h3>
|
||||||
<form action="success_login" method="post" class="simpletext">
|
<form action="/web/success_login-sqltask" method="post" class="simpletext">
|
||||||
<input class="inpt" type="text" name="user_flag" style="width: 100%; height: 1.25rem; margin: 0">
|
<input class="inpt" type="text" name="user_flag" style="width: 100%; height: 1.25rem; margin: 0">
|
||||||
<input type="submit" value="Submit" class="btn1" style="margin-top: 1.25rem">
|
<input type="submit" value="Submit" class="btn1" style="margin-top: 1.25rem">
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user