mirror of
https://gitlab.com/timvisee/send.git
synced 2025-12-08 07:00:54 +03:00
changes requested in review
This commit is contained in:
@@ -14,7 +14,7 @@ module.exports = async (req, res) => {
|
||||
const meta = await storage.metadata(id);
|
||||
res.set('WWW-Authenticate', `send-v1 ${meta.nonce}`);
|
||||
res.send({
|
||||
password: meta.pwd
|
||||
password: meta.pwd !== '0'
|
||||
});
|
||||
} catch (e) {
|
||||
res.sendStatus(404);
|
||||
|
||||
Reference in New Issue
Block a user