mirror of
https://github.com/agessaman/meshcore-bot.git
synced 2026-05-06 07:45:24 +00:00
8b6ccc9dd3
- Updated `config.ini.example` to clarify password requirements for web viewer authentication, emphasizing the need for a password when binding to non-loopback interfaces. - Introduced a new function `normalized_web_viewer_password` in `integration.py` to standardize password retrieval and validation, handling various empty and null placeholder cases. - Enhanced error logging in `core.py` to use `logger.error` for web viewer integration failures, improving visibility of issues. - Modified `app.py` to utilize the new password normalization function, ensuring consistent password handling across the application. - Added tests in `test_web_viewer_integration.py` to validate password normalization and error logging behavior when the web viewer is configured without a password.