mirror of
https://gitlab.com/timvisee/send.git
synced 2025-12-07 22:50:53 +03:00
add fxa_required option
This commit is contained in:
@@ -46,7 +46,8 @@ module.exports = function(ws, req) {
|
||||
!auth ||
|
||||
timeLimit <= 0 ||
|
||||
timeLimit > maxExpireSeconds ||
|
||||
dlimit > maxDownloads
|
||||
dlimit > maxDownloads ||
|
||||
(config.fxa_required && !user)
|
||||
) {
|
||||
ws.send(
|
||||
JSON.stringify({
|
||||
|
||||
Reference in New Issue
Block a user