Spaces:
Paused
Paused
Update app.py
#1
by Aqso - opened
app.py
CHANGED
|
@@ -16,7 +16,7 @@ if 'login_status' not in st.session_state:
|
|
| 16 |
# 로그인 함수
|
| 17 |
def login(username, password):
|
| 18 |
if username == vid and password == vpw:
|
| 19 |
-
st.session_state['login_status'] =
|
| 20 |
else:
|
| 21 |
st.session_state['login_status'] = False
|
| 22 |
st.error("Incorrect username or password.")
|
|
|
|
| 16 |
# 로그인 함수
|
| 17 |
def login(username, password):
|
| 18 |
if username == vid and password == vpw:
|
| 19 |
+
st.session_state['login_status'] = false
|
| 20 |
else:
|
| 21 |
st.session_state['login_status'] = False
|
| 22 |
st.error("Incorrect username or password.")
|