From 7f8b0b00ceb9bba04f32d493c03302c9dbca3e5e Mon Sep 17 00:00:00 2001
From: Joe Banks <joe@jb3.dev>
Date: Wed, 3 Jul 2024 22:25:49 +0100
Subject: Explicitly tag PyDis messages for integrity

---
 src/pages/CallbackPage.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src/pages/CallbackPage.tsx')

diff --git a/src/pages/CallbackPage.tsx b/src/pages/CallbackPage.tsx
index 00feb76..bd7870c 100644
--- a/src/pages/CallbackPage.tsx
+++ b/src/pages/CallbackPage.tsx
@@ -11,7 +11,7 @@ export default function CallbackPage(): JSX.Element {
 
     if (!hasSent) {
         setHasSent(true);
-        window.opener.postMessage({code: code, state: state});
+        window.opener.postMessage({code: code, state: state, pydis_source: "oauth2_callback"});
     }
 
     return <div/>;
-- 
cgit v1.2.3

