Update docs
This commit is contained in:
parent
a6cf42ccf7
commit
1810cd2095
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user