mirror of
https://gitlab.com/timvisee/send.git
synced 2025-12-08 15:10:54 +03:00
implemented download tokens
This commit is contained in:
@@ -9,7 +9,7 @@ module.exports = function(req, res) {
|
||||
|
||||
try {
|
||||
storage.setField(id, 'auth', auth);
|
||||
storage.setField(id, 'pwd', true);
|
||||
storage.setField(id, 'pwd', 1);
|
||||
res.sendStatus(200);
|
||||
} catch (e) {
|
||||
return res.sendStatus(404);
|
||||
|
||||
Reference in New Issue
Block a user