mirror of https://github.com/MISP/misp-dashboard
MISP user and password are now easier to set in diagnostic.py
parent
4c9bc87437
commit
06dc976160
|
@ -40,6 +40,8 @@ Steps:
|
||||||
- check log dynamic endpoint
|
- check log dynamic endpoint
|
||||||
'''
|
'''
|
||||||
|
|
||||||
|
MISP_USER = 'admin@admin.test'
|
||||||
|
MISP_PASSWD = 'Password1234'
|
||||||
HOST = 'http://127.0.0.1'
|
HOST = 'http://127.0.0.1'
|
||||||
PORT = 8001 # overriden by configuration file
|
PORT = 8001 # overriden by configuration file
|
||||||
configuration_file = {}
|
configuration_file = {}
|
||||||
|
@ -417,8 +419,8 @@ def check_server_listening(spinner):
|
||||||
@add_spinner
|
@add_spinner
|
||||||
def check_server_dynamic_enpoint(spinner):
|
def check_server_dynamic_enpoint(spinner):
|
||||||
payload = {
|
payload = {
|
||||||
'username': 'admin@admin.test',
|
'username': MISP_USER,
|
||||||
'password': 'Password1234',
|
'password': MISP_PASSWD,
|
||||||
'submit': 'Sign In'
|
'submit': 'Sign In'
|
||||||
}
|
}
|
||||||
sleep_max = 15
|
sleep_max = 15
|
||||||
|
|
Loading…
Reference in New Issue