Jon Solow
commited on
Commit
·
aea5fd9
1
Parent(s):
534f8af
Fix typo
Browse files- src/login.py +1 -1
src/login.py
CHANGED
@@ -7,7 +7,7 @@ from streamlit_gsheets import GSheetsConnection
|
|
7 |
from streamlit.runtime.secrets import AttrDict, secrets_singleton
|
8 |
from data_storage import get_user_id_if_email_exists, get_user, add_new_user, create_new_token_for_user
|
9 |
|
10 |
-
NEW_USER_ENABLED = bool(int(
|
11 |
|
12 |
|
13 |
class HFFriendlyGSheetsConnection(GSheetsConnection):
|
|
|
7 |
from streamlit.runtime.secrets import AttrDict, secrets_singleton
|
8 |
from data_storage import get_user_id_if_email_exists, get_user, add_new_user, create_new_token_for_user
|
9 |
|
10 |
+
NEW_USER_ENABLED = bool(int(os.getenv("NEW_USER_ENABLED", 1)))
|
11 |
|
12 |
|
13 |
class HFFriendlyGSheetsConnection(GSheetsConnection):
|