Spaces:
Paused
Paused
chore: add secure password to variable
Browse files- bot_telegram.py +2 -1
bot_telegram.py
CHANGED
|
@@ -16,9 +16,10 @@ BASE_URL = os.getenv("BASE_URL")
|
|
| 16 |
HF_TOKEN = os.getenv("HF_TOKEN")
|
| 17 |
API_USERNAME = os.getenv("API_USERNAME")
|
| 18 |
API_PASSWORD = os.getenv("API_PASSWORD")
|
|
|
|
| 19 |
|
| 20 |
# Set the secret password for authentication
|
| 21 |
-
SECRET_PASSWORD =
|
| 22 |
|
| 23 |
# Dictionary to store authenticated users
|
| 24 |
AUTHENTICATED_USERS = set()
|
|
|
|
| 16 |
HF_TOKEN = os.getenv("HF_TOKEN")
|
| 17 |
API_USERNAME = os.getenv("API_USERNAME")
|
| 18 |
API_PASSWORD = os.getenv("API_PASSWORD")
|
| 19 |
+
BOT_SECRET_PASSWORD = os.getenv("BOT_SECRET_PASSWORD")
|
| 20 |
|
| 21 |
# Set the secret password for authentication
|
| 22 |
+
SECRET_PASSWORD = BOT_SECRET_PASSWORD
|
| 23 |
|
| 24 |
# Dictionary to store authenticated users
|
| 25 |
AUTHENTICATED_USERS = set()
|