removed things

This commit is contained in:
maaa 2023-07-11 21:46:23 +02:00
parent adf6ad863c
commit 8222502610
2 changed files with 1 additions and 17 deletions

16
main
View File

@ -236,22 +236,6 @@ def chatsend(roomid):
return "success", 200 return "success", 200
@sock.route("/api/chat/listen")
def chatlisten(ws):
global burgerMessageCache
global burgerMessageUpdate
while burgerMessageUpdate == True:
ws.send(burgerMessageCache)
burgerMessageUpdate = False
@app.route("/erm", methods=("GET", "POST"))
def erm():
print(burgerMessageCache)
print(burgerMessageUpdate)
return "fart"
@app.route("/@<pageusername>", methods=("GET", "POST")) @app.route("/@<pageusername>", methods=("GET", "POST"))
def user(pageusername): def user(pageusername):
usersession = request.cookies.get("session_DO_NOT_SHARE") usersession = request.cookies.get("session_DO_NOT_SHARE")

View File

@ -25,7 +25,7 @@
{% endwith %} {% endwith %}
<input name="username" type="text" placeholder="Username" required> <input name="username" type="text" placeholder="Username" required>
<br><br> <br><br>
<input name="password" type="password" placeholder="Password" required> <input name="password" type="password" placeholder="Password" pattern=".{8,}" required title="12 characters minimum">
<br><br> <br><br>
<button type="submit">Sign up</button> <button type="submit">Sign up</button>
<br><br> <br><br>