Spaces:
Sleeping
Sleeping
Commit
·
3685670
1
Parent(s):
d721b27
Update common.py
Browse files
common.py
CHANGED
@@ -9,8 +9,8 @@ logger.debug("調査用ログ")
|
|
9 |
|
10 |
#ログインの確認
|
11 |
def check_login():
|
12 |
-
|
13 |
-
|
14 |
-
if
|
15 |
st.warning("**ログインしてください**")
|
16 |
st.stop()
|
|
|
9 |
|
10 |
#ログインの確認
|
11 |
def check_login():
|
12 |
+
if 'authentication_status' not in st.session_state:
|
13 |
+
st.session_state['authentication_status'] = None
|
14 |
+
if st.session_state["authentication_status"] is None or False:
|
15 |
st.warning("**ログインしてください**")
|
16 |
st.stop()
|