Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -28,7 +28,7 @@ def login():
|
|
28 |
password = st.text_input("Password", type="password")
|
29 |
if st.button("Login", key="loginkey"):
|
30 |
users =list(col.find())
|
31 |
-
for user in
|
32 |
|
33 |
if usrname == user["username"] and password == user["password"]:
|
34 |
st.success("Logged in as {}".format(usrname))
|
|
|
28 |
password = st.text_input("Password", type="password")
|
29 |
if st.button("Login", key="loginkey"):
|
30 |
users =list(col.find())
|
31 |
+
for user in users:
|
32 |
|
33 |
if usrname == user["username"] and password == user["password"]:
|
34 |
st.success("Logged in as {}".format(usrname))
|