Added DNS yap and fixed password "hash"
Some silly goober left in the Cg=== from the terminal when he ran `echo "password" | base64`. Cute little terminal escape characters.
This commit is contained in:
2
main.py
2
main.py
@@ -35,7 +35,7 @@ def login():
|
||||
|
||||
if user != "ronniej":
|
||||
return Response("User not found", HTTPStatus.UNAUTHORIZED)
|
||||
if base64_encode(password).decode() != "Z29GQUxDT05TMTIzCg==":
|
||||
if base64_encode(password).decode() != "Z29GQUxDT05TMTIz":
|
||||
return Response("Incorrect password", HTTPStatus.UNAUTHORIZED)
|
||||
|
||||
return send_file("./website/account.html")
|
||||
|
||||
Reference in New Issue
Block a user