Update app.py
Browse files
app.py
CHANGED
@@ -35,8 +35,6 @@ MAX_WORKERS = 4 # Number of worker threads for processing
|
|
35 |
# Get password hash from environment variable (more secure)
|
36 |
ADMIN_PASSWORD_HASH = os.environ.get('ADMIN_PASSWORD_HASH')
|
37 |
|
38 |
-
# If the environment variable isn't set, use a default hash (for development only)
|
39 |
-
# This is the hash of "default_password_for_development_only" - change this in production!
|
40 |
if not ADMIN_PASSWORD_HASH:
|
41 |
ADMIN_PASSWORD_HASH = "5e22d1ed71b273b1b2b5331f2d3e0f6cf34595236f201c6924d6bc81de27cdcb"
|
42 |
|
|
|
35 |
# Get password hash from environment variable (more secure)
|
36 |
ADMIN_PASSWORD_HASH = os.environ.get('ADMIN_PASSWORD_HASH')
|
37 |
|
|
|
|
|
38 |
if not ADMIN_PASSWORD_HASH:
|
39 |
ADMIN_PASSWORD_HASH = "5e22d1ed71b273b1b2b5331f2d3e0f6cf34595236f201c6924d6bc81de27cdcb"
|
40 |
|