Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -15,7 +15,7 @@ if not st.session_state.authenticated:
|
|
| 15 |
st.markdown("<h1 style='font-size: 2rem;'>🔒 EER Simulator Login</h1>", unsafe_allow_html=True)
|
| 16 |
password = st.text_input("Enter password to access the app:", type="password")
|
| 17 |
if st.button("Submit"):
|
| 18 |
-
if password == "
|
| 19 |
st.session_state.authenticated = True
|
| 20 |
st.rerun()
|
| 21 |
else:
|
|
|
|
| 15 |
st.markdown("<h1 style='font-size: 2rem;'>🔒 EER Simulator Login</h1>", unsafe_allow_html=True)
|
| 16 |
password = st.text_input("Enter password to access the app:", type="password")
|
| 17 |
if st.button("Submit"):
|
| 18 |
+
if password == st.secrets["password"]:
|
| 19 |
st.session_state.authenticated = True
|
| 20 |
st.rerun()
|
| 21 |
else:
|