From 39dc509fde120000fe76dcfc775aab763f8be4d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=ED=95=98=EB=88=84?= Date: Wed, 22 Mar 2023 15:04:26 +0000 Subject: [PATCH] fix: no abuse --- app.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app.py b/app.py index bb6c617..2042fe0 100644 --- a/app.py +++ b/app.py @@ -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"],