Update docs

This commit is contained in:
Alan Grainger 2024-11-01 12:27:10 +01:00
parent a6cf42ccf7
commit 1810cd2095

View File

@ -38,7 +38,7 @@ class Immich {
// This isn't a valid request - check the console for more information // This isn't a valid request - check the console for more information
res.status(404).send() res.status(404).send()
} else if (sharedLinkRes.passwordRequired && request.password) { } else if (sharedLinkRes.passwordRequired && request.password) {
// Invalid password // A password is required, but the visitor-provided one doesn't match
log('Invalid password for key ' + request.key) log('Invalid password for key ' + request.key)
res.status(401).send() res.status(401).send()
} else if (sharedLinkRes.passwordRequired) { } else if (sharedLinkRes.passwordRequired) {