3293-Improve_code_quality
Description
Improve checking on setting authState.
Screenshots
Technical details
Tests
Issues
10 commandments of code review
Summary by CodeRabbit
-
Bug Fixes
- Improved validation across multiple areas to treat blank (whitespace-only) strings as invalid for credentials, tokens, and URLs, enhancing security and preventing errors.
- Tightened checks for user input fields, authentication state, and access tokens to ensure only meaningful, non-blank values are processed.
-
Chores
- Updated a library dependency to a newer version.
- Removed redundant variable declarations to streamline internal logic.
Edited by CodeRabbitAI