1
0

fix: no abuse

This commit is contained in:
オスカー、 2023-03-22 15:04:26 +00:00 committed by GitHub
parent 8ecadb5c2c
commit 39dc509fde
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

2
app.py
View File

@ -83,6 +83,8 @@ async def setup(request: Request):
async def validate(data: dict) -> bool:
base = "https://steamcommunity.com/openid/login"
if "openid.mode" not in data:
return False
params = {
"openid.assoc_handle": data["openid.assoc_handle"],
"openid.sig": data["openid.sig"],