mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Disable the master password in test mode (for now).
This commit is contained in:
parent
26c7d76d4f
commit
91075cc3f5
@ -236,6 +236,7 @@ def create_app(app_name=None):
|
|||||||
os.environ['PGADMIN_TESTING_MODE'] == '1'
|
os.environ['PGADMIN_TESTING_MODE'] == '1'
|
||||||
):
|
):
|
||||||
config.SQLITE_PATH = config.TEST_SQLITE_PATH
|
config.SQLITE_PATH = config.TEST_SQLITE_PATH
|
||||||
|
config.MASTER_PASSWORD_REQUIRED = False
|
||||||
|
|
||||||
# Ensure the various working directories exist
|
# Ensure the various working directories exist
|
||||||
from pgadmin.setup import create_app_data_directory, db_upgrade
|
from pgadmin.setup import create_app_data_directory, db_upgrade
|
||||||
|
Loading…
Reference in New Issue
Block a user