Merge pull request #199 from fraggar/fix/password-protected-shares-401

fix: handle password-protected shares with Immich v2.6+
This commit is contained in:
Alan Grainger
2026-03-22 15:27:09 +13:00
committed by GitHub
+2 -2
View File
@@ -200,8 +200,8 @@ class Immich {
link link
} }
} }
} else if (res.status === 401 && jsonBody?.message === 'Invalid password') { } else if (res.status === 401) {
// Password authentication required // Password authentication required (handles both "Invalid password" and "Password required" from Immich API)
return { return {
valid: true, valid: true,
passwordRequired: true passwordRequired: true