Closed tsambora closed 8 years ago
You could put a middleware that checks for authentication before the multer middleware. That way you can abort before uploading even begins...
Ah yes. Thanks for your quick response. This is helpful.
No problem :ok_hand:
Is there any way to cancel the file upload? Say if the request is unauthorized and we don't want the file from the request to be uploaded to S3.