fix: clean up lazy import, dead var, whitespace; document WS session caveat

- Move get_all_credential_counts import to top-level in daemon/handlers/auth.py
- Remove unused PROJECT_DIR in scripts/bootstrap_auth.py
- Fix leading space in api.js tryRefreshToken function
- Document WebSocket session binding limitation in docs/security.md
This commit is contained in:
2026-08-12 19:18:28 +00:00
parent 818721ae5c
commit 9ae2cca801
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -83,7 +83,7 @@ let _refreshPromise = null;
*
* @returns {Promise<boolean>} ``true`` if refresh succeeded
*/
async function tryRefreshToken() {
async function tryRefreshToken() {
if (!_refreshPromise) {
_refreshPromise = (async () => {
try {