From 90ece09ee98900b62e29562d4ccdd6f5d77d777e Mon Sep 17 00:00:00 2001 From: Matthias Date: Sat, 25 May 2019 14:42:13 +0200 Subject: [PATCH] require username/password for API server --- freqtrade/constants.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/freqtrade/constants.py b/freqtrade/constants.py index 1b06eb726..4772952fc 100644 --- a/freqtrade/constants.py +++ b/freqtrade/constants.py @@ -166,8 +166,10 @@ CONF_SCHEMA = { "minimum": 1024, "maximum": 65535 }, + 'username': {'type': 'string'}, + 'password': {'type': 'string'}, }, - 'required': ['enabled', 'listen_ip_address', 'listen_port'] + 'required': ['enabled', 'listen_ip_address', 'listen_port', 'username', 'password'] }, 'db_url': {'type': 'string'}, 'initial_state': {'type': 'string', 'enum': ['running', 'stopped']},