Spaces:
Running
Running
adrianpierce
commited on
Commit
•
b50af63
1
Parent(s):
d55a8ed
Update pages/3_Profile.py
Browse files- pages/3_Profile.py +1 -1
pages/3_Profile.py
CHANGED
@@ -8,7 +8,7 @@ admin_pass = st.text_input("Admin Access", value="", type="password")
|
|
8 |
if admin_pass != "":
|
9 |
if admin_pass == st.secrets["admin_pass"]:
|
10 |
st.success("Admin Access Granted")
|
11 |
-
st.session_state.admin
|
12 |
else:
|
13 |
st.error("Wrong Password")
|
14 |
st.session_state.admin = False
|
|
|
8 |
if admin_pass != "":
|
9 |
if admin_pass == st.secrets["admin_pass"]:
|
10 |
st.success("Admin Access Granted")
|
11 |
+
st.session_state.admin = True
|
12 |
else:
|
13 |
st.error("Wrong Password")
|
14 |
st.session_state.admin = False
|