MCPcopy Create free account
hub / github.com/PierreGode/Ragnar / wardriving_stop

Function wardriving_stop

webapp_modern.py:8206–8214  ·  view source on GitHub ↗

Stop the current wardriving session.

()

Source from the content-addressed store, hash-verified

8204def auth_change_password():
8205 """Change the user's password."""
8206 if not session.get('authenticated'):
8207 return jsonify({'success': False, 'error': 'Not authenticated'}), 401
8208
8209 data = request.get_json()
8210 if not data:
8211 return jsonify({'success': False, 'error': 'No data provided'}), 400
8212
8213 result = auth_mgr.change_password(
8214 data.get('current_password', ''),
8215 data.get('new_password', '')
8216 )
8217 return jsonify(result) if result['success'] else (jsonify(result), 400)

Callers

nothing calls this directly

Calls 3

_get_wardriving_engineFunction · 0.85
errorMethod · 0.80
stopMethod · 0.45

Tested by

no test coverage detected