adrianpierce commited on
Commit
3d7f435
1 Parent(s): 54af6c8

Update pages/3_Profile.py

Browse files
Files changed (1) hide show
  1. pages/3_Profile.py +8 -1
pages/3_Profile.py CHANGED
@@ -1,2 +1,9 @@
1
  import streamlit as st
2
- st.write("Profile")
 
 
 
 
 
 
 
 
1
  import streamlit as st
2
+ st.title("Profile")
3
+
4
+ admin_pass = st.text_input("Admin Access", value="", type="password")
5
+ if admin_pass != "":
6
+ if admin_pass == st.secrets["admin_pass"]:
7
+ st.success("Admin Access Granted")
8
+ if admin_pass == st.secrets["admin_pass"]:
9
+ st.error("Wrong Password")