Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -30,7 +30,7 @@ def login():
|
|
30 |
document = col.find_one({"username": usrname})
|
31 |
if document:
|
32 |
if password == document["password"]:
|
33 |
-
st.session_state.user =
|
34 |
st.experimental_rerun()
|
35 |
else:
|
36 |
st.error("Incorrect Password")
|
|
|
30 |
document = col.find_one({"username": usrname})
|
31 |
if document:
|
32 |
if password == document["password"]:
|
33 |
+
st.session_state.user = "logged"
|
34 |
st.experimental_rerun()
|
35 |
else:
|
36 |
st.error("Incorrect Password")
|