jayanth-2005 commited on
Commit
b97bbff
·
verified ·
1 Parent(s): f3cd0ea

Update src/pages/3_Traditional.py

Browse files
Files changed (1) hide show
  1. src/pages/3_Traditional.py +4 -0
src/pages/3_Traditional.py CHANGED
@@ -7,6 +7,10 @@ import tempfile
7
 
8
  st.set_page_config(page_title="Traditional Game Submission", layout="wide")
9
 
 
 
 
 
10
  st.title("🪀 Contribute a Traditional Game")
11
  category = "Traditional"
12
 
 
7
 
8
  st.set_page_config(page_title="Traditional Game Submission", layout="wide")
9
 
10
+ if "authenticated" not in st.session_state or not st.session_state.authenticated:
11
+ st.error("🔐 Please log in to access this page.")
12
+ st.stop()
13
+
14
  st.title("🪀 Contribute a Traditional Game")
15
  category = "Traditional"
16