MCPcopy Create free account
hub / github.com/dedsec1121fk/DedSec / network_load_proxy_state

Function network_load_proxy_state

Scripts/Settings.py:7181–7183  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

7179 if route == '/api/auth/recover':
7180 config = load_config()
7181 answers = payload.get('answers') if isinstance(payload.get('answers'), list) else []
7182 questions = config.get('security_questions') or []
7183 if len(answers) < 3 or len(questions) < 3:
7184 send_json(self, 400, {'ok': False, 'error': 'Recovery answers do not match.'})
7185 return
7186 for idx in range(3):

Callers 3

network_mark_proxy_badFunction · 0.70
network_mark_proxy_goodFunction · 0.70

Calls 1

network_load_jsonFunction · 0.70

Tested by

no test coverage detected