Update app.py
Browse files
app.py
CHANGED
|
@@ -46,7 +46,7 @@ def login():
|
|
| 46 |
if st.button("Login"):
|
| 47 |
if username in col.find():
|
| 48 |
if password in col.find():
|
| 49 |
-
st.session_state.
|
| 50 |
st.experimental_rerun()
|
| 51 |
else:
|
| 52 |
st.error("Incorrect password")
|
|
|
|
| 46 |
if st.button("Login"):
|
| 47 |
if username in col.find():
|
| 48 |
if password in col.find():
|
| 49 |
+
st.session_state.user = username
|
| 50 |
st.experimental_rerun()
|
| 51 |
else:
|
| 52 |
st.error("Incorrect password")
|