Spaces:
Sleeping
Sleeping
Nikhil0987
commited on
Commit
·
319e034
1
Parent(s):
efef101
Update app.py
Browse files
app.py
CHANGED
@@ -44,7 +44,7 @@ def login():
|
|
44 |
document = col.find_one({"username": usrname})
|
45 |
if document:
|
46 |
if password == document["password"]:
|
47 |
-
st.session_state.user =
|
48 |
st.experimental_rerun()
|
49 |
else:
|
50 |
st.error("Incorrect Password")
|
|
|
44 |
document = col.find_one({"username": usrname})
|
45 |
if document:
|
46 |
if password == document["password"]:
|
47 |
+
st.session_state.user = "logged"
|
48 |
st.experimental_rerun()
|
49 |
else:
|
50 |
st.error("Incorrect Password")
|